$err_msg = "config: your config file version is incorrect. See config.php-dist.\n";
}
- $purifier_cache_dir = "lib/htmlpurifier/library/HTMLPurifier/DefinitionCache/Serializer";
+ $purifier_cache_dir = CACHE_DIR . "/htmlpurifier";
if (!is_writable($purifier_cache_dir)) {
$err_msg = "config: HTMLPurifier cache directory should be writable by anyone (chmod -R 777 $purifier_cache_dir)";
$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;