]> git.wh0rd.org Git - tt-rss.git/commitdiff
fix operation without curl
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 4 Apr 2013 08:21:29 +0000 (12:21 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Thu, 4 Apr 2013 08:21:29 +0000 (12:21 +0400)
include/functions.php

index 5870649ceaff22a21ac247dfacf3626720b5cb04..02cefd4d892ac7713d89c2625f9d7867cd138fd5 100644 (file)
                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));