diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-04-04 12:21:29 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2013-04-04 12:21:29 +0400 |
| commit | 9772c52a629ebccdafb09c50681a23cea1a2e7b5 (patch) | |
| tree | 93a10e74892a8cbf43dcaea94efc9d354fd179f0 /include | |
| parent | 61096207b6b856a67a062dd7fdfc4e8724f3b2ec (diff) | |
fix operation without curl
Diffstat (limited to 'include')
| -rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index 5870649ce..02cefd4d8 100644 --- a/include/functions.php +++ b/include/functions.php @@ -318,7 +318,7 @@ global $fetch_last_error; global $fetch_last_error_code; - if (!defined('NO_CURL') && !function_exists('curl_init') && !ini_get("open_basedir")) { + if (!defined('NO_CURL') && function_exists('curl_init') && !ini_get("open_basedir")) { if (ini_get("safe_mode")) { $ch = curl_init(geturl($url)); |