diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-04-29 14:00:03 +0200 |
---|---|---|
committer | Côme Chilliet <come.chilliet@nextcloud.com> | 2024-04-30 09:23:59 +0200 |
commit | b7acecd006ab21196039797074126e47f180af4f (patch) | |
tree | b576fe8e2bdfa0278901aa7b1661a33930998920 | |
parent | 7f3fcbc49f76028d19a835a93735b2190b4e3f09 (diff) | |
download | nextcloud-server-b7acecd006ab21196039797074126e47f180af4f.tar.gz nextcloud-server-b7acecd006ab21196039797074126e47f180af4f.zip |
fix: Fix default values for ini var in lib/base.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
-rw-r--r-- | lib/base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php index 891161ff0c6..14437267052 100644 --- a/lib/base.php +++ b/lib/base.php @@ -662,11 +662,11 @@ 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)); } |