Move the HTMLPurifier code from lib to vendor to be compliant with our packaging structure
This commit is contained in:
parent
7904946b54
commit
2c9a045ad9
|
@ -21,7 +21,7 @@ class purifier {
|
||||||
|
|
||||||
static function purify($dirty_html) {
|
static function purify($dirty_html) {
|
||||||
if (!isset(self::$_purifier)) {
|
if (!isset(self::$_purifier)) {
|
||||||
require_once(MODPATH . "purifier/lib/HTMLPurifier/HTMLPurifier.auto.php");
|
require_once(MODPATH . "purifier/vendor/HTMLPurifier/HTMLPurifier.auto.php");
|
||||||
$config = HTMLPurifier_Config::createDefault();
|
$config = HTMLPurifier_Config::createDefault();
|
||||||
foreach (Kohana::config("purifier") as $category => $key_value) {
|
foreach (Kohana::config("purifier") as $category => $key_value) {
|
||||||
foreach ($key_value as $key => $value) {
|
foreach ($key_value as $key => $value) {
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user