From 358b133a5a08aef1b86f170e697ae8cd658899e3 Mon Sep 17 00:00:00 2001 From: Jimako Date: Fri, 17 Nov 2017 13:25:23 +0100 Subject: [PATCH] fix for sync on slower servers #2867 This fixes localhost issue with sync. Without this change there is just blank page (not white, inside admin area), no error message, anything. --- e107_handlers/file_class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/e107_handlers/file_class.php b/e107_handlers/file_class.php index 62ea10b5a..f8a9d43ba 100644 --- a/e107_handlers/file_class.php +++ b/e107_handlers/file_class.php @@ -450,7 +450,7 @@ class e_file $cp = $this->initCurl($remote_url); curl_setopt($cp, CURLOPT_FILE, $fp); - curl_setopt($cp, CURLOPT_TIMEOUT, 20);//FIXME Make Pref - avoids get file timeout on slow connections + curl_setopt($cp, CURLOPT_TIMEOUT, 40);//FIXME Make Pref - avoids get file timeout on slow connections /* $cp = curl_init($remote_url);