From: Andrew Dolgov Date: Sat, 16 Apr 2011 14:35:16 +0000 (+0400) Subject: squash deprecated warning of htmlpurifier serializer path X-Git-Tag: 1.5.3~41 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=50aa64b3c4b1ef5a9b90e3f1a09b8e4c92140d16;p=tt-rss.git squash deprecated warning of htmlpurifier serializer path --- diff --git a/functions.php b/functions.php index 4abca26c..b9974437 100644 --- a/functions.php +++ b/functions.php @@ -120,7 +120,7 @@ @$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);