diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2011-07-24 08:25:57 -0700 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2011-07-24 08:25:57 -0700 |
| commit | ad47d826cf3b1a083449287975958cb2e2f2a3c2 (patch) | |
| tree | 8dd247d971c84eea2dad64c54b462f8774e8814d /modules/gallery/libraries | |
| parent | 403f64bf2a91fe3ac2496a0a6a6180ece26afd82 (diff) | |
| parent | 0672c8f83f068c546454bacefac123b5acb508cc (diff) | |
Merge pull request #51 from chadparry/rawphoto-squash
Chad Parry's framework enhancement to support replacing an image with a new version of a different mime type. This includes code that centralizes file type management and fixes some latent issues around the relative url and path caching getting out of date.
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 3e35e380..450320b3 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 = legal_file::get_filters(); $v->suhosin_session_encrypt = (bool) ini_get("suhosin.session.encrypt"); list ($toolkit_max_filesize_bytes, $toolkit_max_filesize) = graphics::max_filesize(); |
