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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user