From 5e7cc75a29623781bfdc907c4bf76626151a6caa Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Wed, 27 May 2009 16:29:33 -0700 Subject: Convert a few more references of APPPATH to MODPATH/gallery --- modules/gallery/controllers/scaffold.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/gallery/controllers') 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