mirror of
https://github.com/nextcloud/server.git
synced 2026-06-07 15:53:04 -04:00
Merge pull request #45107 from nextcloud/backport/fix-ini-default-in-base
[stable29] fix: Fix default values for ini var in lib/base.php
This commit is contained in:
commit
24eb8ae2d0
1 changed files with 2 additions and 2 deletions
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue