Tpl: defaulty define upload_max_filesize variable from config
This commit is contained in:
parent
765844bee9
commit
eea359056b
1 changed files with 6 additions and 0 deletions
|
@ -385,6 +385,12 @@ class Tpl {
|
|||
Tpl :: assign(
|
||||
'webstats_js_code',
|
||||
App::get('webstats_js_code', null, 'string'));
|
||||
|
||||
// Upload max size
|
||||
if (App::get('upload_max_filesize', null, 'int'))
|
||||
Tpl :: assign(
|
||||
'upload_max_filesize',
|
||||
App::get('upload_max_filesize', null, 'int'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue