summaryrefslogtreecommitdiff
path: root/core/config/config.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-03-05 00:32:33 +0000
committerTim Almdal <tnalmdal@shaw.ca>2009-03-05 00:32:33 +0000
commit7786bb09d32570d9be33727a3fe4fb460fcceeaf (patch)
tree69cbb683c9a3fc290474536c933a8179d33b51b4 /core/config/config.php
parent514e6658f6efc6409cfcf2fa85f0566d80217bad (diff)
Implement a Maintenance mode as per ticket: #15
Diffstat (limited to 'core/config/config.php')
-rw-r--r--core/config/config.php7
1 files changed, 7 insertions, 0 deletions
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;