Skip to content

Commit 68f5550

Browse files
committed
fix: Fix default values for ini var in lib/base.php
Signed-off-by: Côme Chilliet <[email protected]>
1 parent 5cee4f4 commit 68f5550

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
@@ -662,11 +662,11 @@ public static function init(): void {
662662
//this doesn´t work always depending on the webserver and php configuration.
663663
//Let´s try to overwrite some defaults if they are smaller than 1 hour
664664

665-
if (intval(@ini_get('max_execution_time') ?? 0) < 3600) {
665+
if (intval(@ini_get('max_execution_time') ?: 0) < 3600) {
666666
@ini_set('max_execution_time', strval(3600));
667667
}
668668

669-
if (intval(@ini_get('max_input_time') ?? 0) < 3600) {
669+
if (intval(@ini_get('max_input_time') ?: 0) < 3600) {
670670
@ini_set('max_input_time', strval(3600));
671671
}
672672

0 commit comments

Comments
 (0)