reinstate open_basedir sanity check

This commit is contained in:
Andrew Dolgov 2011-08-10 08:48:50 +04:00
parent 1b79034372
commit 59a6e9f3bb
1 changed files with 2 additions and 2 deletions

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.";