From 37c216cfe403d7b1c669d9e51cfbb20694f48d51 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 17 Mar 2015 15:43:11 +0100 Subject: [PATCH] Fix limit for very slow os. --- htdocs/install/upgrade.php | 2 +- htdocs/install/upgrade2.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/install/upgrade.php b/htdocs/install/upgrade.php index 89e54ef4443..22c18c15fee 100644 --- a/htdocs/install/upgrade.php +++ b/htdocs/install/upgrade.php @@ -47,7 +47,7 @@ $ok = 0; // Ne fonctionne que si on est pas en safe_mode. $err=error_reporting(); error_reporting(0); -@set_time_limit(120); +@set_time_limit(300); error_reporting($err); diff --git a/htdocs/install/upgrade2.php b/htdocs/install/upgrade2.php index a7226c1621d..0c96c3c6d5c 100644 --- a/htdocs/install/upgrade2.php +++ b/htdocs/install/upgrade2.php @@ -55,7 +55,7 @@ $error = 0; // Ne fonctionne que si on est pas en safe_mode. $err=error_reporting(); error_reporting(0); -@set_time_limit(120); +@set_time_limit(300); error_reporting($err); $setuplang=GETPOST("selectlang",'',3)?GETPOST("selectlang",'',3):'auto';