diff options
author | Chad Parry <github@chad.parry.org> | 2011-04-27 20:29:06 -0600 |
---|---|---|
committer | Chad Parry <github@chad.parry.org> | 2011-04-27 20:29:06 -0600 |
commit | 7ff485fa48c392bbbb0370f67cb1bd6fcc00c2a4 (patch) | |
tree | 4cb4a853f7981f7ce54705bb7fb26cbbc17156a6 /modules/gallery/controllers/uploader.php | |
parent | 26585fed03236f0f70a75959e1d3002025f4e15e (diff) |
Move the extensions helpers out of the Kohana system directory and into their own Gallery Extensions class.
Diffstat (limited to 'modules/gallery/controllers/uploader.php')
-rw-r--r-- | modules/gallery/controllers/uploader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/controllers/uploader.php b/modules/gallery/controllers/uploader.php index 12180893..5f3e9ca4 100644 --- a/modules/gallery/controllers/uploader.php +++ b/modules/gallery/controllers/uploader.php @@ -51,7 +51,7 @@ class Uploader_Controller extends Controller { $file_validation = new Validation($_FILES); $file_validation->add_rules( "Filedata", "upload::valid", "upload::required", - "upload::type[" . implode(",", upload::get_upload_extensions()) . "]"); + "upload::type[" . implode(",", extensions::get_upload_extensions()) . "]"); if ($form->validate() && $file_validation->validate()) { $temp_filename = upload::save("Filedata"); |