diff --git a/src/Tpl.php b/src/Tpl.php index 98df157..0c3615b 100644 --- a/src/Tpl.php +++ b/src/Tpl.php @@ -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')); } /**