summaryrefslogtreecommitdiffstats
path: root/lib/private/IntegrityCheck
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-13 14:42:52 +0200
committerJoas Schilling <coding@schilljs.com>2016-09-13 16:50:36 +0200
commita3c8534b7b0a9446cf6fdb0a5a3cb7e5b69745de (patch)
tree59cdbadeb0928892b79d58a7bd73c2b1bbba538a /lib/private/IntegrityCheck
parent0543661064b00c27c2e9a1780acf34c8a364f6ce (diff)
downloadnextcloud-server-a3c8534b7b0a9446cf6fdb0a5a3cb7e5b69745de.tar.gz
nextcloud-server-a3c8534b7b0a9446cf6fdb0a5a3cb7e5b69745de.zip
Make sure memory limit is > post size and upload filesize
Diffstat (limited to 'lib/private/IntegrityCheck')
-rw-r--r--lib/private/IntegrityCheck/Checker.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/IntegrityCheck/Checker.php b/lib/private/IntegrityCheck/Checker.php
index 1db20772b4e..102fe42a99d 100644
--- a/lib/private/IntegrityCheck/Checker.php
+++ b/lib/private/IntegrityCheck/Checker.php
@@ -195,7 +195,7 @@ class Checker {
copy($this->environmentHelper->getServerRoot() . '/.htaccess', $tmpFolder . '/.htaccess');
copy($this->environmentHelper->getServerRoot() . '/.user.ini', $tmpFolder . '/.user.ini');
\OC_Files::setUploadLimit(
- \OCP\Util::computerFileSize('513MB'),
+ \OCP\Util::computerFileSize('511MB'),
[
'.htaccess' => $tmpFolder . '/.htaccess',
'.user.ini' => $tmpFolder . '/.user.ini',