Skip to content
Snippets Groups Projects
Commit f56c6cd4 authored by Andrew Dolgov's avatar Andrew Dolgov
Browse files

sanity check: properly check for ISCONFIGURED

parent 42315f8d
No related branches found
No related tags found
No related merge requests found
...@@ -151,6 +151,10 @@ ...@@ -151,6 +151,10 @@
$err_msg = "PHP: DOMDocument extension not found."; $err_msg = "PHP: DOMDocument extension not found.";
} }
if (!ISCONFIGURED) {
$err_msg = "config: please read config.php completely.";
}
if ($err_msg) { if ($err_msg) {
print "<b>Fatal Error</b>: $err_msg\n"; print "<b>Fatal Error</b>: $err_msg\n";
exit; exit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment