summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2016-01-13 18:12:31 +0300
committerAndrew Dolgov <[email protected]>2016-01-13 18:12:31 +0300
commit312742db6efc22a844a5f0a9d95f0282722354dc (patch)
tree7dd2a3400daafb69491c1fe61f1f24cbda1f9c39 /include/functions.php
parent393fc7d6b5e634c9618dac415252eaf40939cf31 (diff)
updates: auto-disable CURL if open_basedir is enabled, notify possible issues w/ plugins
Diffstat (limited to 'include/functions.php')
-rwxr-xr-xinclude/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php
index b928a030d..b558b0e6c 100755
--- a/include/functions.php
+++ b/include/functions.php
@@ -347,7 +347,7 @@
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;