diff options
| author | Chad Parry <github@chad.parry.org> | 2011-04-21 02:06:53 -0600 |
|---|---|---|
| committer | Chad Parry <github@chad.parry.org> | 2011-04-21 02:11:04 -0600 |
| commit | 31ba081b793141ca36866a6dd349cd2eac5af68e (patch) | |
| tree | 9a538198a7353b2c6c356736ebd74276349be500 /modules/gallery/libraries | |
| parent | 14eadea2c26e2f284b43bfe73e920dcd07837c1b (diff) | |
Add an event that will collect all valid filename extensions.
Diffstat (limited to 'modules/gallery/libraries')
| -rw-r--r-- | modules/gallery/libraries/Form_Uploadify.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/libraries/Form_Uploadify.php b/modules/gallery/libraries/Form_Uploadify.php index 27ab9684..ca189f0b 100644 --- a/modules/gallery/libraries/Form_Uploadify.php +++ b/modules/gallery/libraries/Form_Uploadify.php @@ -47,6 +47,7 @@ class Form_Uploadify_Core extends Form_Input { $v->script_data = $this->data["script_data"]; $v->simultaneous_upload_limit = module::get_var("gallery", "simultaneous_upload_limit"); $v->movies_allowed = (bool) movie::find_ffmpeg(); + $v->extensions = upload::get_upload_filters(); $v->suhosin_session_encrypt = (bool) ini_get("suhosin.session.encrypt"); return $v; } |
