add htmlpurifier youtube filter
This commit is contained in:
parent
da9f393ad2
commit
31c56e1acb
|
@ -2574,6 +2574,8 @@
|
||||||
@$config->set('Cache', 'SerializerPath', "../" . CACHE_DIR . "/htmlpurifier");
|
@$config->set('Cache', 'SerializerPath', "../" . CACHE_DIR . "/htmlpurifier");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$config->set('Filter.YouTube', true);
|
||||||
|
|
||||||
$purifier = new HTMLPurifier($config);
|
$purifier = new HTMLPurifier($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue