Merge pull request #12236 from wdammak/patch-43

Remove limit time for upgrade
This commit is contained in:
Laurent Destailleur 2019-11-02 13:45:39 +01:00 committed by GitHub
commit 935a7cffa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,10 @@ $error = 0;
// Ne fonctionne que si on est pas en safe_mode.
$err=error_reporting();
error_reporting(0);
@set_time_limit(300);
if (! empty($conf->global->MAIN_OVERRIDE_TIME_LIMIT))
@set_time_limit((int) $conf->global->MAIN_OVERRIDE_TIME_LIMIT);
else
@set_time_limit(600);
error_reporting($err);
$setuplang=GETPOST("selectlang", 'aZ09', 3)?GETPOST("selectlang", 'aZ09', 3):'auto';