feature 3067: upload any file type with the new HTML5 upload form.

$file_types = conf['upload_form_all_types'] ? $conf['file_ext'] : $conf['picture_ext'];

By default, conf['upload_form_all_types'] = false;


git-svn-id: http://piwigo.org/svn/trunk@29124 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2014-07-30 13:48:35 +00:00
parent cd110d959b
commit 379398d917
5 changed files with 114 additions and 23 deletions
+1
View File
@@ -1359,6 +1359,7 @@ function ws_images_upload($params, $service)
SELECT
id,
name,
representative_ext,
path
FROM '.IMAGES_TABLE.'
WHERE id = '.$image_id.'