diff options
| author | Andrew Dolgov <fox@fakecake.org> | 2016-01-13 18:12:31 +0300 |
|---|---|---|
| committer | Andrew Dolgov <fox@fakecake.org> | 2016-01-13 18:12:31 +0300 |
| commit | 312742db6efc22a844a5f0a9d95f0282722354dc (patch) | |
| tree | 7dd2a3400daafb69491c1fe61f1f24cbda1f9c39 /include/functions.php | |
| parent | 393fc7d6b5e634c9618dac415252eaf40939cf31 (diff) | |
updates: auto-disable CURL if open_basedir is enabled, notify possible issues w/ plugins
Diffstat (limited to 'include/functions.php')
| -rwxr-xr-x | include/functions.php | 2 |
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; |