Created
March 11, 2011 15:32
-
-
Save harikt/866026 to your computer and use it in GitHub Desktop.
Add to libraries.php or clone li3_htmlpurifier ...
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Libraries::add('HTMLPurifier', array( | |
"path" => LITHIUM_LIBRARY_PATH . "/HTMLPurifier/HTMLPurifier", | |
"includePath" => LITHIUM_LIBRARY_PATH . "/HTMLPurifier/HTMLPurifier", | |
"prefix" => "HTMLPurifier_", | |
"bootstrap" => "Bootstrap.php", | |
"loader" => array("HTMLPurifier_Bootstrap", "autoload"), | |
)); | |
/* | |
* Add above code to libraries.php or | |
* clone li3_htmlpurifier | |
* Keep the all files inside HTMLPurifier library inside li3_htmlpurifier/libraries/HTMLPurifier/ | |
* Path will be li3_htmlpurifier/libraries/HTMLPurifier/HTMLPurifier.auto.php | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment