]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
move HTMLPurifier cache inside CACHE_DIR/htmlpurifier
[tt-rss.git] / functions.php
index 0a2345ff6b699315c319231cbc3e4eeac6882b8d..4abca26c069345f24164fdd390137aead2f06004 100644 (file)
        @$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);