summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-01 21:07:24 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-01 21:07:24 -0700
commit1145b846ba3ad354579a95bf1c70498472553b54 (patch)
tree1691646aee216139489ec5eec99e20556a65ba33 /modules/gallery/helpers
parent8c580f75ed7077e55e2ef109c2ab4783c3d98371 (diff)
Fix a place where I shouldn't have renamed "core" to "gallery", breaking maintenance mode.
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r--modules/gallery/helpers/gallery.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery.php b/modules/gallery/helpers/gallery.php
index 34671f1f..1686571c 100644
--- a/modules/gallery/helpers/gallery.php
+++ b/modules/gallery/helpers/gallery.php
@@ -23,7 +23,7 @@ class gallery_Core {
* down for maintenance" page.
*/
static function maintenance_mode() {
- $maintenance_mode = Kohana::config("gallery.maintenance_mode", false, false);
+ $maintenance_mode = Kohana::config("core.maintenance_mode", false, false);
if (Router::$controller != "login" && !empty($maintenance_mode) && !user::active()->admin) {
Router::$controller = "maintenance";