]> git.wh0rd.org - tt-rss.git/commitdiff
reinstate open_basedir sanity check
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 10 Aug 2011 04:48:50 +0000 (08:48 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 10 Aug 2011 04:48:50 +0000 (08:48 +0400)
sanity_check.php

index 3f764171fc82cff0f99e683811aaba556966ef8d..3007d2bb74e61fb67cfa057784aae92f9332e9b1 100644 (file)
                $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.";