Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicke Nordin <kano@sunet.se>2022-05-16 11:14:53 +0300
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>2022-08-23 00:36:31 +0300
commit47fd27bc4c593ad336bbd898d168c62345e4b6f6 (patch)
tree684bc4b1df5e59143afe5e2ac934bcead1c0e753
parentda6e0d7ddb44802c04aac6f0f95bb648e9e11b2b (diff)
Fix suggestions by @artonagebackport/32216/stable24
Signed-off-by: Micke Nordin <kano@sunet.se>
-rw-r--r--lib/base.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/base.php b/lib/base.php
index 87549ce6b0e..b601e4b19f2 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();