sanity check: properly check for ISCONFIGURED

This commit is contained in:
Andrew Dolgov 2011-04-12 19:29:45 +04:00
parent 42315f8de8
commit f56c6cd488
1 changed files with 4 additions and 0 deletions

View File

@ -151,6 +151,10 @@
$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;