fix: disable PHP script time limit during installation

This commit is contained in:
Martin Ambrus
2017-10-03 19:14:16 +02:00
parent 4788e882df
commit 270b3ca432
2 changed files with 8 additions and 1 deletions
+5 -1
View File
@@ -1,4 +1,8 @@
<?php include("templates/script.tpl");
<?php
// don't let SQL time out when 30-500 seconds (depending on php.ini) is not enough
@set_time_limit(0);
include("templates/script.tpl");
if(!isset($_GET['s'])) {
$_GET['s']=0;
+3
View File
@@ -9,6 +9,9 @@
## ##
#################################################################################
// don't let SQL time out when 30-500 seconds (depending on php.ini) is not enough
@set_time_limit(0);
if(file_exists("include/constant.php")) {
include ("include/database.php");
}