1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

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.
This commit is contained in:
Jimako
2017-11-17 13:25:23 +01:00
committed by GitHub
parent 43f2a70b40
commit 358b133a5a

View File

@@ -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);