summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-15 14:06:27 +0400
committerAndrew Dolgov <[email protected]>2011-04-15 14:06:27 +0400
commitca06ed7d36315922f5bc690e9fa456ecfe2faa9e (patch)
tree1ac993849a54cf1939bfc37a8e3af22d92267af4 /functions.php
parent9b27cec8c01ff231085bc2045d196ace85e299d9 (diff)
move HTMLPurifier cache inside CACHE_DIR/htmlpurifier
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions.php b/functions.php
index 0a2345ff6..4abca26c0 100644
--- a/functions.php
+++ b/functions.php
@@ -120,6 +120,7 @@
@$config->set('HTML', 'Allowed', $allowed);
$config->set('Output.FlashCompat', true);
$config->set('Attr.EnableID', true);
+ $config->set('Cache', 'SerializerPath', CACHE_DIR . "/htmlpurifier");
$purifier = new HTMLPurifier($config);