1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-05 22:21:33 +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

@@ -399,6 +399,11 @@
// fetch feed from source
if (!$feed_data) {
_debug("fetching [$fetch_url]...", $debug_enabled);
if (ini_get("open_basedir") && function_exists("curl_init")) {
_debug("not using CURL due to open_basedir restrictions");
}
_debug("If-Modified-Since: ".gmdate('D, d M Y H:i:s \G\M\T', $last_article_timestamp), $debug_enabled);
$feed_data = fetch_file_contents($fetch_url, false,