Merge pull request #785 from ByteHamster/upgrade-duration
Increased timeout
This commit is contained in:
commit
a4b2f1064c
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue