From: Andrew Dolgov Date: Wed, 10 Aug 2011 04:48:50 +0000 (+0400) Subject: reinstate open_basedir sanity check X-Git-Tag: 1.5.6~52 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=59a6e9f3bb57ef2e2ca884fd554925db25abe845;p=tt-rss.git reinstate open_basedir sanity check --- diff --git a/sanity_check.php b/sanity_check.php index 3f764171..3007d2bb 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.";