From 7786bb09d32570d9be33727a3fe4fb460fcceeaf Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 5 Mar 2009 00:32:33 +0000 Subject: Implement a Maintenance mode as per ticket: #15 --- core/config/config.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'core/config') diff --git a/core/config/config.php b/core/config/config.php index 3bdb70c1..d120b24b 100644 --- a/core/config/config.php +++ b/core/config/config.php @@ -126,3 +126,10 @@ if (TEST_MODE) { array(MODPATH . 'gallery_unit_test', MODPATH . 'unit_test')); } + +/** + * Setting the maintenance_mode to block all non administrative access. In + * this mode a user can attempt to logon, but will be unable to access anything. + * The application will be have normally if an adminstrator logs on. + */ +//$config["maintenance_mode"] = true; -- cgit v1.2.3