summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-11-20 13:34:52 +0300
committerAndrew Dolgov <[email protected]>2015-11-20 13:34:52 +0300
commitaa03bac42490673b4cd027c779655a027b1dd0fc (patch)
tree35720efb77a997c9708aea209186e4a384ec5b25 /install
parent4c46702672631c0cf84067d6f2c55b3bfda1db6f (diff)
allow NO_CURL to disable several CURL-related checks in plugins
af_readability: skip http content-type checking when open_basedir is enabled
Diffstat (limited to 'install')
-rwxr-xr-xinstall/index.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/install/index.php b/install/index.php
index 959dc6c0e..74ea65652 100755
--- a/install/index.php
+++ b/install/index.php
@@ -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:");