]> git.wh0rd.org - tt-rss.git/blobdiff - install/index.php
allow NO_CURL to disable several CURL-related checks in plugins
[tt-rss.git] / install / index.php
index 959dc6c0eeb87cd9cff498b75a2b0f54d3fc0202..74ea65652549a97771639df869485b6b10a4e4fe 100755 (executable)
                        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:");