diff options
author | Andrew Dolgov <[email protected]> | 2015-11-20 13:34:52 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-11-20 13:34:52 +0300 |
commit | aa03bac42490673b4cd027c779655a027b1dd0fc (patch) | |
tree | 35720efb77a997c9708aea209186e4a384ec5b25 /install/index.php | |
parent | 4c46702672631c0cf84067d6f2c55b3bfda1db6f (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/index.php')
-rwxr-xr-x | install/index.php | 4 |
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:"); |