mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 16:05:56 +00:00
allow NO_CURL to disable several CURL-related checks in plugins
af_readability: skip http content-type checking when open_basedir is enabled
This commit is contained in:
@@ -325,6 +325,10 @@
|
||||
array_push($notices, "It is highly recommended to enable support for CURL in PHP.");
|
||||
}
|
||||
|
||||
if (function_exists("curl_init") && ini_get("open_basedir")) {
|
||||
array_push($notices, "CURL and open_basedir combination breaks support for HTTP redirects. See the FAQ for more information.");
|
||||
}
|
||||
|
||||
if (count($notices) > 0) {
|
||||
print_notice("Configuration check succeeded with minor problems:");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user