1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-05 00:59:16 +00:00

move HTMLPurifier cache inside CACHE_DIR/htmlpurifier

This commit is contained in:
Andrew Dolgov
2011-04-15 14:06:27 +04:00
parent 9b27cec8c0
commit ca06ed7d36
4 changed files with 3 additions and 1 deletions

View File

@@ -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)";