summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2024-04-29 14:00:03 +0200
committerCôme Chilliet <come.chilliet@nextcloud.com>2024-04-30 10:53:53 +0200
commit2b1e7f3b2911d2d3682d35933806e1d47a6f741f (patch)
treeaf7594db44d325a065fcac7f60727d9c1db8e7e3
parent828c77b46ae147b9b6312e0a153053c982e91042 (diff)
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.php4
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));
}