]> git.wh0rd.org - tt-rss.git/commitdiff
sanity check: properly check for ISCONFIGURED
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 12 Apr 2011 15:29:45 +0000 (19:29 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Tue, 12 Apr 2011 15:29:45 +0000 (19:29 +0400)
sanity_check.php

index 17937a3f724b546f5d7977d157362a2db4deed31..e518a8c269a1514d5a8c543b76025bbe111e49de 100644 (file)
                $err_msg = "PHP: DOMDocument extension not found.";
        }
 
+       if (!ISCONFIGURED) {
+               $err_msg = "config: please read config.php completely.";
+       }
+
        if ($err_msg) {
                print "<b>Fatal Error</b>: $err_msg\n";
                exit;