aboutsummaryrefslogtreecommitdiffstats
path: root/lib/base.php
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-04-29 14:00:03 +0200
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2024-04-30 10:12:34 +0000
commit8915a984d3ca7408279ffd584ad4c6e6c07627f5 (patch)
tree17c2b071ac02551a120e722e51fda13235eb876a /lib/base.php
parent3750072975e1d487dd2414f0cdb751ec02c7806c (diff)
downloadnextcloud-server-8915a984d3ca7408279ffd584ad4c6e6c07627f5.tar.gz
nextcloud-server-8915a984d3ca7408279ffd584ad4c6e6c07627f5.zip
fix: Fix default values for ini var in lib/base.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'lib/base.php')
-rw-r--r--lib/base.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/base.php b/lib/base.php
index d0a2072cc66..115e7b11daf 100644
--- a/lib/base.php
+++ b/lib/base.php
@@ -656,11 +656,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));
}