From beab4d244437db2fc0b8294a160511ca55b8c24c Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 21 Oct 2020 18:04:24 +0000 Subject: [PATCH] wait #3984 @1 --- inc/commons/class.common.tools.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/inc/commons/class.common.tools.php b/inc/commons/class.common.tools.php index 23c66f4c6..4d8f0105a 100644 --- a/inc/commons/class.common.tools.php +++ b/inc/commons/class.common.tools.php @@ -1650,6 +1650,7 @@ class commonTools { commonDroits::min(1); + set_time_limit(0); if (!count($_FILES) || !isset($_FILES['file']) || $_FILES['file']['error'] > 0) { return self::ipGlobal(__('Erreur lors du chargement du fichier')); } @@ -1660,7 +1661,7 @@ class commonTools // Update git repository $repos = ROOT . '/../ipglobal-library/'; - `cd $repos;git reset --hard;git pull`; + `cd $repos;git reset --hard;timeout 30 git pull`; // Handle zip upload $uploaded = new ZipArchive(); -- 2.39.5