summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-12 19:29:45 +0400
committerAndrew Dolgov <[email protected]>2011-04-12 19:29:45 +0400
commitf56c6cd48853fa498704d4239bf204d57279f6ce (patch)
treeb55274cdf231888dcc5d2b238c36a512bb00d8b2
parent42315f8de89e90ee0a4b08d41753dfdde35181f2 (diff)
sanity check: properly check for ISCONFIGURED
-rw-r--r--sanity_check.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/sanity_check.php b/sanity_check.php
index 17937a3f7..e518a8c26 100644
--- a/sanity_check.php
+++ b/sanity_check.php
@@ -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;