]> git.wh0rd.org - tt-rss.git/commitdiff
squash deprecated warning of htmlpurifier serializer path
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 16 Apr 2011 14:35:16 +0000 (18:35 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Sat, 16 Apr 2011 14:35:16 +0000 (18:35 +0400)
functions.php

index 4abca26c069345f24164fdd390137aead2f06004..b99744373c6a312233c64fbeb890a0231addcea2 100644 (file)
        @$config->set('HTML', 'Allowed', $allowed);
        $config->set('Output.FlashCompat', true);
        $config->set('Attr.EnableID', true);
-       $config->set('Cache', 'SerializerPath', CACHE_DIR . "/htmlpurifier");
+       @$config->set('Cache', 'SerializerPath', CACHE_DIR . "/htmlpurifier");
 
        $purifier = new HTMLPurifier($config);