Way to "disable" a Moodle site?

Re: Way to "disable" a Moodle site?

by Martin Dougiamas -
Number of replies: 1
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Correct, on the admin page there is now a link named "Maintenance mode".  People can still see the front page and log in, but they can't enter any courses or do anything else.  Admins can still log in and work normally.

This mode actually uses a file in dataroot to work, in which you can include a custom HTML maintenance message if you like. The benefit of this is that you can put the site in maintenance mode from the command line.

Very useful for upgrading as you just create the file, run cvs, and remove the file.