From: Alexander Ebert Date: Sat, 9 Mar 2019 14:11:50 +0000 (+0100) Subject: Include the `upload_max_filesize` in the system tab X-Git-Tag: 5.2.0_Alpha_1~241 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=aff22ea74fdfa4a82f20e4a818196938ab45140f;p=GitHub%2FWoltLab%2FWCF.git Include the `upload_max_filesize` in the system tab Replaces #2829 --- diff --git a/wcfsetup/install/files/acp/templates/index.tpl b/wcfsetup/install/files/acp/templates/index.tpl index 4b034133aa..ba8a8d1dcb 100644 --- a/wcfsetup/install/files/acp/templates/index.tpl +++ b/wcfsetup/install/files/acp/templates/index.tpl @@ -158,6 +158,13 @@ +
+
upload_max_filesize
+
+ {$server[upload_max_filesize]} +
+
+
{lang}wcf.acp.index.system.php.sslSupport{/lang}
diff --git a/wcfsetup/install/files/lib/acp/page/IndexPage.class.php b/wcfsetup/install/files/lib/acp/page/IndexPage.class.php index 46eca9f4ec..cea8621d1c 100755 --- a/wcfsetup/install/files/lib/acp/page/IndexPage.class.php +++ b/wcfsetup/install/files/lib/acp/page/IndexPage.class.php @@ -35,6 +35,7 @@ class IndexPage extends AbstractPage { 'mySQLVersion' => WCF::getDB()->getVersion(), 'load' => '', 'memoryLimit' => @ini_get('memory_limit'), + 'upload_max_filesize' => @ini_get('upload_max_filesize'), 'postMaxSize' => @ini_get('post_max_size'), 'sslSupport' => RemoteFile::supportsSSL() ];