Skip to content

Commit 0c310dc

Browse files
come-ncbackportbot[bot]
authored andcommitted
fix: Fix default values for ini var in lib/base.php
Signed-off-by: Côme Chilliet <[email protected]>
1 parent 6a045e3 commit 0c310dc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/base.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -656,11 +656,11 @@ public static function init(): void {
656656
//this doesn´t work always depending on the webserver and php configuration.
657657
//Let´s try to overwrite some defaults if they are smaller than 1 hour
658658

659-
if (intval(@ini_get('max_execution_time') ?? 0) < 3600) {
659+
if (intval(@ini_get('max_execution_time') ?: 0) < 3600) {
660660
@ini_set('max_execution_time', strval(3600));
661661
}
662662

663-
if (intval(@ini_get('max_input_time') ?? 0) < 3600) {
663+
if (intval(@ini_get('max_input_time') ?: 0) < 3600) {
664664
@ini_set('max_input_time', strval(3600));
665665
}
666666

0 commit comments

Comments
 (0)