Include the `upload_max_filesize` in the system tab
authorAlexander Ebert <ebert@woltlab.com>
Sat, 9 Mar 2019 14:11:50 +0000 (15:11 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Sat, 9 Mar 2019 14:11:50 +0000 (15:11 +0100)
Replaces #2829

wcfsetup/install/files/acp/templates/index.tpl
wcfsetup/install/files/lib/acp/page/IndexPage.class.php

index 4b034133aab09fc35e020c2d9c1c208531e96c00..ba8a8d1dcb64ca98a4852d7353335a9a81a4326f 100644 (file)
                                </dd>
                        </dl>
                        
+                       <dl>
+                               <dt>upload_max_filesize</dt>
+                               <dd>
+                                       {$server[upload_max_filesize]}
+                               </dd>
+                       </dl>
+                       
                        <dl>
                                <dt>{lang}wcf.acp.index.system.php.sslSupport{/lang}</dt>
                                <dd>
index 46eca9f4ecfe9633c77c6bfc80a47fa754c3ff0e..cea8621d1c779a22496d283c3d18d9eecb3a2c9d 100755 (executable)
@@ -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()
                ];