From f56c6cd48853fa498704d4239bf204d57279f6ce Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 12 Apr 2011 19:29:45 +0400 Subject: [PATCH] sanity check: properly check for ISCONFIGURED --- sanity_check.php | 4 ++++ 1 file changed, 4 insertions(+) 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 "Fatal Error: $err_msg\n"; exit;