From aff22ea74fdfa4a82f20e4a818196938ab45140f Mon Sep 17 00:00:00 2001 From: Alexander Ebert Date: Sat, 9 Mar 2019 15:11:50 +0100 Subject: [PATCH] Include the `upload_max_filesize` in the system tab Replaces #2829 --- wcfsetup/install/files/acp/templates/index.tpl | 7 +++++++ wcfsetup/install/files/lib/acp/page/IndexPage.class.php | 1 + 2 files changed, 8 insertions(+) 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() ]; -- 2.20.1