summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index c595944e1..ac8fb6302 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