]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
updates: auto-disable CURL if open_basedir is enabled, notify possible issues w/...
[tt-rss.git] / include / functions.php
index b928a030d5d766718fcedc6b43e0e5c5f26a9d22..b558b0e6c539004b0ee23a5fe061debe3c95f39b 100755 (executable)
                if (strpos($url, "//") === 0)
                        $url = 'http:' . $url;
 
-               if (!defined('NO_CURL') && function_exists('curl_init')) {
+               if (!defined('NO_CURL') && function_exists('curl_init') && !ini_get("open_basedir")) {
 
                        $fetch_curl_used = true;