From 5579b1e1a3f1a2d845fe9dcf3d3710ff3258cdee Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 12 Aug 2015 14:06:55 +0200 Subject: closes #346 chunk_size is now a config setting --- admin/include/photos_add_direct_prepare.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'admin/include/photos_add_direct_prepare.inc.php') diff --git a/admin/include/photos_add_direct_prepare.inc.php b/admin/include/photos_add_direct_prepare.inc.php index 34b025f13..6204fe841 100644 --- a/admin/include/photos_add_direct_prepare.inc.php +++ b/admin/include/photos_add_direct_prepare.inc.php @@ -44,6 +44,7 @@ $template->assign( 'F_ADD_ACTION'=> PHOTOS_ADD_BASE_URL, 'upload_max_filesize' => $upload_max_filesize, 'upload_max_filesize_shorthand' => $upload_max_filesize_shorthand, + 'chunk_size' => $conf['upload_form_chunk_size'], ) ); @@ -229,4 +230,4 @@ if (!isset($_SESSION['upload_hide_warnings'])) ); } -?> \ No newline at end of file +?> -- cgit v1.2.3