X-Git-Url: https://git.wh0rd.org/?p=tt-rss.git;a=blobdiff_plain;f=include%2Ffunctions.php;h=ac8fb6302904237725ecd88f77f097483d8d6c21;hp=c595944e19c754684fe5a67c76721936bda08604;hb=fafac207c5a7bb610c4a2ce473cc677eeca92e4e;hpb=aa9f7d444729c3136e0549518eebf0c4c108d818 diff --git a/include/functions.php b/include/functions.php index c595944e..ac8fb630 100644 --- a/include/functions.php +++ b/include/functions.php @@ -360,7 +360,7 @@ $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