]> git.wh0rd.org - tt-rss.git/blobdiff - include/functions.php
geturl: if head request is denied because host is still living in 20th century, try...
[tt-rss.git] / include / functions.php
index c595944e19c754684fe5a67c76721936bda08604..ac8fb6302904237725ecd88f77f097483d8d6c21 100644 (file)
 
                        $fetch_curl_used = true;
 
-                       if (ini_get("safe_mode") || ini_get("open_basedir")) {
+                       if (ini_get("safe_mode") || ini_get("open_basedir") || defined("FORCE_GETURL")) {
                                $new_url = geturl($url);
                                if (!$new_url) {
                                    // geturl has already populated $fetch_last_error