1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:35:56 +00:00

updates: auto-disable CURL if open_basedir is enabled, notify possible issues w/ plugins

This commit is contained in:
Andrew Dolgov
2016-01-13 18:12:31 +03:00
parent 393fc7d6b5
commit 312742db6e
3 changed files with 10 additions and 1 deletions

View File

@@ -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;