remove sanity check on open_basedir, block using CURL instead while running under it

This commit is contained in:
Andrew Dolgov
2011-07-05 12:05:51 +04:00
parent 19929bbeec
commit 3610b48ba3
3 changed files with 6 additions and 5 deletions
+2 -2
View File
@@ -115,9 +115,9 @@
$err_msg = "config: your ICONS_DIR (" . ICONS_DIR . ") is not writable.\n";
}
if (ini_get("open_basedir")) {
/* if (ini_get("open_basedir")) {
$err_msg = "php.ini: open_basedir is not supported.";
}
} */
if (!function_exists("curl_init") && !ini_get("allow_url_fopen")) {
$err_msg = "php.ini: either allow_url_fopen or CURL needs to be enabled.";