summaryrefslogtreecommitdiff
path: root/sanity_check.php
diff options
context:
space:
mode:
Diffstat (limited to 'sanity_check.php')
-rw-r--r--sanity_check.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/sanity_check.php b/sanity_check.php
index e518a8c26..ce755f402 100644
--- a/sanity_check.php
+++ b/sanity_check.php
@@ -17,7 +17,7 @@
$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)";