Increased timeout

This commit is contained in:
ByteHamster 2019-04-23 15:59:29 +02:00
parent 56140cbcca
commit c5673b4240

View file

@ -26,6 +26,11 @@
ini_set("session.cookie_httponly", 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);
define("BAIKAL_CONTEXT", true);