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/controllers/scaffold.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gallery/controllers/scaffold.php') 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; -- cgit v1.2.3