summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/MY_url.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery/helpers/MY_url.php')
-rw-r--r--modules/gallery/helpers/MY_url.php2
1 files changed, 1 insertions, 1 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;
}
}