reinstate open_basedir sanity check
This commit is contained in:
parent
1b79034372
commit
59a6e9f3bb
|
@ -115,9 +115,9 @@
|
||||||
$err_msg = "config: your ICONS_DIR (" . ICONS_DIR . ") is not writable.\n";
|
$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.";
|
$err_msg = "php.ini: open_basedir is not supported.";
|
||||||
} */
|
}
|
||||||
|
|
||||||
if (!function_exists("curl_init") && !ini_get("allow_url_fopen")) {
|
if (!function_exists("curl_init") && !ini_get("allow_url_fopen")) {
|
||||||
$err_msg = "php.ini: either allow_url_fopen or CURL needs to be enabled.";
|
$err_msg = "php.ini: either allow_url_fopen or CURL needs to be enabled.";
|
||||||
|
|
Loading…
Reference in New Issue