add htmlpurifier youtube filter

This commit is contained in:
Andrew Dolgov 2012-01-05 11:44:24 +04:00
parent da9f393ad2
commit 31c56e1acb
1 changed files with 2 additions and 0 deletions

View File

@ -2574,6 +2574,8 @@
@$config->set('Cache', 'SerializerPath', "../" . CACHE_DIR . "/htmlpurifier");
}
$config->set('Filter.YouTube', true);
$purifier = new HTMLPurifier($config);
}