From c5673b42403df0032206800f3c7398f28e2b387c Mon Sep 17 00:00:00 2001 From: ByteHamster Date: Tue, 23 Apr 2019 15:59:29 +0200 Subject: [PATCH] Increased timeout --- Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php b/Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php index 7f5b8cb..34e3dcc 100644 --- a/Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php +++ b/Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php @@ -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);