summaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorMicke Nordin <kano@sunet.se>2022-05-16 10:14:53 +0200
committerMicke Nordin <kano@sunet.se>2022-05-16 10:15:45 +0200
commit0ace1831f48be9f324635fba0d2817291a89d037 (patch)
tree9e89351e02147f1e6f55e7a70deddbfcabe3ef47 /lib/base.php
parent30fe91a77fc9c18f6cc6b0756a5dcf4c1304b5c3 (diff)
downloadnextcloud-server-0ace1831f48be9f324635fba0d2817291a89d037.tar.gz
nextcloud-server-0ace1831f48be9f324635fba0d2817291a89d037.zip
Fix suggestions by @artonage
Signed-off-by: Micke Nordin <kano@sunet.se>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/base.php b/lib/base.php
index 5695bbe06f9..844afb03af0 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -628,17 +628,17 @@ class OC {
//this doesn´t work always depending on the webserver and php configuration.
//Let´s try to overwrite some defaults if they are smaller than 1 hour
- if (intval(@ini_get('max_execution_time')?? 0) < 3600) {
+ if (intval(@ini_get('max_execution_time') ?? 0) < 3600) {
@ini_set('max_execution_time', strval(3600));
}
- if (intval(@ini_get('max_input_time')?? 0) < 3600) {
+ if (intval(@ini_get('max_input_time') ?? 0) < 3600) {
@ini_set('max_input_time', strval(3600));
}
//try to set the maximum execution time to the largest time limit we have
if (strpos(@ini_get('disable_functions'), 'set_time_limit') === false) {
- @set_time_limit(strval(max(intval(@ini_get('max_execution_time')),intval(@ini_get('max_input_time')))));
+ @set_time_limit(max(intval(@ini_get('max_execution_time')), intval(@ini_get('max_input_time'))));
}
self::setRequiredIniValues();