Merge pull request #785 from ByteHamster/upgrade-duration

Increased timeout
This commit is contained in:
H. Lehmann 2019-04-24 18:49:13 +02:00 committed by GitHub
commit a4b2f1064c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,11 @@
ini_set("session.cookie_httponly", 1); ini_set("session.cookie_httponly", 1);
ini_set("log_errors", 1); ini_set("log_errors", 1);
$maxtime = ini_get('max_execution_time');
if ($maxtime != 0 && $maxtime < 3600) {
ini_set('max_execution_time', 3600); // 1 hour
}
ini_set('ignore_user_abort', true);
error_reporting(E_ALL); error_reporting(E_ALL);
define("BAIKAL_CONTEXT", true); define("BAIKAL_CONTEXT", true);