summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-05-28 07:29:33 +0800
committerGallery Role Account <gallery@menalto.com>2009-05-28 11:07:10 +0800
commitc8f849b38faa7a86e017725fe95b4f4205899286 (patch)
treeaa6f49d87b5054fc95a6f964f3aa2a8431f70b03 /modules/gallery/helpers
parentf89424bc85942d25fa6da2371f5a0e439aaaf33e (diff)
Convert a few more references of APPPATH to MODPATH/gallery
Signed-off-by: Gallery Role Account <gallery@menalto.com>
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r--modules/gallery/helpers/MY_url.php2
-rw-r--r--modules/gallery/helpers/gallery.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/helpers/MY_url.php b/modules/gallery/helpers/MY_url.php
index 81dcbe1e..5e8bfc9e 100644
--- a/modules/gallery/helpers/MY_url.php
+++ b/modules/gallery/helpers/MY_url.php
@@ -50,7 +50,7 @@ class url extends url_Core {
if (!empty($item)) {
Router::$controller = "{$item->type}s";
- Router::$controller_path = APPPATH . "controllers/{$item->type}s.php";
+ Router::$controller_path = MODPATH . "gallery/controllers/{$item->type}s.php";
Router::$method = $item->id;
}
}
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";
}
}