aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--admin/include/functions.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/admin/include/functions.php b/admin/include/functions.php
index a3778f595..da4e93b60 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -2060,7 +2060,8 @@ function fetchRemote($src, &$dest, $get_data=array(), $post_data=array(), $user_
is_resource($dest) or $dest = '';
// Try curl to read remote file
- if (function_exists('curl_init'))
+ // TODO : remove all these @
+ if (function_exists('curl_init') && function_exists('curl_exec'))
{
$ch = @curl_init();
@curl_setopt($ch, CURLOPT_URL, $src);