summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/scaffold.php
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/controllers/scaffold.php
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/controllers/scaffold.php')
-rw-r--r--modules/gallery/controllers/scaffold.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/scaffold.php b/modules/gallery/controllers/scaffold.php
index 8ec1663a..5b8f9aa9 100644
--- a/modules/gallery/controllers/scaffold.php
+++ b/modules/gallery/controllers/scaffold.php
@@ -80,7 +80,7 @@ class Scaffold_Controller extends Template_Controller {
$parents = ORM::factory("item")->where("type", "album")->find_all()->as_array();
$owner_id = user::active()->id;
- $test_images = glob(APPPATH . "tests/images/*.[Jj][Pp][Gg]");
+ $test_images = glob(MODPATH . "gallery/tests/images/*.[Jj][Pp][Gg]");
batch::start();
$album_count = $photo_count = 0;