From: Andrew Dolgov Date: Tue, 12 Apr 2011 15:29:45 +0000 (+0400) Subject: sanity check: properly check for ISCONFIGURED X-Git-Tag: 1.5.3~58 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=f56c6cd48853fa498704d4239bf204d57279f6ce;p=tt-rss.git sanity check: properly check for ISCONFIGURED --- diff --git a/sanity_check.php b/sanity_check.php index 17937a3f..e518a8c2 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;