Skip to content

Commit

Permalink
Merge pull request #785 from ByteHamster/upgrade-duration
Browse files Browse the repository at this point in the history
Increased timeout
  • Loading branch information
ByteHamster authored Apr 24, 2019
2 parents cdd3b73 + c5673b4 commit a4b2f10
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Core/Frameworks/BaikalAdmin/WWWRoot/install/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a4b2f10

Please sign in to comment.