summaryrefslogtreecommitdiffstats
path: root/apps/files/admin.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/admin.php')
-rw-r--r--apps/files/admin.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files/admin.php b/apps/files/admin.php
index 76616bc4373..80fd4f4e4a5 100644
--- a/apps/files/admin.php
+++ b/apps/files/admin.php
@@ -49,7 +49,8 @@ if($_POST && OC_Util::isCallRegistered()) {
OCP\Config::setSystemValue('allowZipDownload', isset($_POST['allowZipDownload']));
}
}
-$maxZipInputSize = OCP\Util::humanFileSize(OCP\Config::getSystemValue('maxZipInputSize', OCP\Util::computerFileSize('800 MB')));
+$maxZipInputSizeDefault = OCP\Util::computerFileSize('800 MB');
+$maxZipInputSize = OCP\Util::humanFileSize(OCP\Config::getSystemValue('maxZipInputSize', $maxZipInputSizeDefault));
$allowZipDownload = intval(OCP\Config::getSystemValue('allowZipDownload', true));
OCP\App::setActiveNavigationEntry( "files_administration" );