Improve documentation and error messages

This commit is contained in:
Kijin Sung 2016-12-17 22:09:02 +09:00
parent d69007e200
commit 7bf5d78206
6 changed files with 23 additions and 8 deletions

View file

@ -55,7 +55,7 @@
jQuery(function($){
// uploader
var setting = {
maxFileSize: {$file_config->allowed_filesize},
maxFileSize: {$logged_info->is_admin === 'Y' ? 0 : $file_config->allowed_filesize},
maxChunkSize: {$file_config->allowed_chunk_size},
singleFileUploads: true
};