diff options
author | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2024-05-02 10:10:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-02 10:10:22 +0200 |
commit | ab0913eaba3e97758b47abcb36347914874c9641 (patch) | |
tree | 4a656cc0d2272cb7bc658c4d8d9bf19270108efc | |
parent | 9b0957ba8b1ea7aee9e28fb3638829cc1b4f352b (diff) | |
parent | 0c310dc94671319f7dd8c8cf2ea8c4364e2732a3 (diff) | |
download | nextcloud-server-ab0913eaba3e97758b47abcb36347914874c9641.tar.gz nextcloud-server-ab0913eaba3e97758b47abcb36347914874c9641.zip |
Merge pull request #45113 from nextcloud/backport/45107/stable27
[stable27] fix: Fix default values for ini var in lib/base.php
-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 5683ad9e6bf..68095b2b6ce 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)); } |