From 50aa64b3c4b1ef5a9b90e3f1a09b8e4c92140d16 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 16 Apr 2011 18:35:16 +0400 Subject: [PATCH] squash deprecated warning of htmlpurifier serializer path --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 4abca26c0..b99744373 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);