fix: timeout disable for data creation scripts - where it was missing

This commit is contained in:
Martin Ambrus
2017-10-13 12:17:15 +02:00
parent 2674cd1ae8
commit 3322ef3b59
3 changed files with 9 additions and 1 deletions
+4 -1
View File
@@ -1,5 +1,8 @@
<?php
$gameinstall = 1;
// don't let SQL time out when 30-500 seconds (depending on php.ini) is not enough
@set_time_limit(0);
$gameinstall = 1;
include ("../../GameEngine/config.php");
include ("../../GameEngine/Database.php");
+2
View File
@@ -1,5 +1,7 @@
<?php
// don't let SQL time out when 30-500 seconds (depending on php.ini) is not enough
@set_time_limit(0);
if(!isset($_SESSION)) session_start();
$gameinstall = 1;
+3
View File
@@ -7,6 +7,9 @@
// DO NOT REMOVE COPYRIGHT NOTICE! //
//////////////////////////////////////////////////////////////////////////////////////////////////////
// don't let SQL time out when 30-500 seconds (depending on php.ini) is not enough
@set_time_limit(0);
include("database.php");