From c8f849b38faa7a86e017725fe95b4f4205899286 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 28 May 2009 07:29:33 +0800 Subject: Convert a few more references of APPPATH to MODPATH/gallery Signed-off-by: Gallery Role Account --- modules/gallery/helpers/gallery.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gallery/helpers/gallery.php') diff --git a/modules/gallery/helpers/gallery.php b/modules/gallery/helpers/gallery.php index bf33fa2b..34671f1f 100644 --- a/modules/gallery/helpers/gallery.php +++ b/modules/gallery/helpers/gallery.php @@ -27,7 +27,7 @@ class gallery_Core { if (Router::$controller != "login" && !empty($maintenance_mode) && !user::active()->admin) { Router::$controller = "maintenance"; - Router::$controller_path = APPPATH . "controllers/maintenance.php"; + Router::$controller_path = MODPATH . "gallery/controllers/maintenance.php"; Router::$method = "index"; } } -- cgit v1.2.3