mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-09 18:23:18 +02:00
fixes 1720 max upload form max_file_size configurable
This commit is contained in:
@@ -14,6 +14,7 @@ $template->assign(
|
||||
array(
|
||||
'F_ADD_ACTION'=> PHOTOS_ADD_BASE_URL,
|
||||
'chunk_size' => $conf['upload_form_chunk_size'],
|
||||
'max_file_size' => $conf['upload_form_max_file_size'],
|
||||
'ADMIN_PAGE_TITLE' => l10n('Upload Photos'),
|
||||
)
|
||||
);
|
||||
|
||||
@@ -133,7 +133,7 @@ jQuery(document).ready(function(){
|
||||
|
||||
filters : {
|
||||
// Maximum file size
|
||||
max_file_size : '1000mb',
|
||||
max_file_size : '{/literal}{$max_file_size}{literal}mb',
|
||||
// Specify what files to browse for
|
||||
mime_types: [
|
||||
{title : "Image files", extensions : formatMode ? format_ext : file_ext}
|
||||
|
||||
Reference in New Issue
Block a user