From 3610b48ba39d7e84d4f9d098a80e7f5459112310 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 5 Jul 2011 12:05:51 +0400 Subject: remove sanity check on open_basedir, block using CURL instead while running under it --- sanity_check.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sanity_check.php') diff --git a/sanity_check.php b/sanity_check.php index 3007d2bb7..3f764171f 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."; -- cgit v1.2.3-54-g00ecf