summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-08-10 08:48:50 +0400
committerAndrew Dolgov <[email protected]>2011-08-10 08:48:50 +0400
commit59a6e9f3bb57ef2e2ca884fd554925db25abe845 (patch)
tree4d88a348278eed69a33d9f6e2e85ef015ee4795c
parent1b79034372918f086a10daab7d50cea7c46b89cd (diff)
reinstate open_basedir sanity check
-rw-r--r--sanity_check.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/sanity_check.php b/sanity_check.php
index 3f764171f..3007d2bb7 100644
--- a/sanity_check.php
+++ b/sanity_check.php
@@ -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.";