|
!Installation
|
You can either
|
-* __Install HTML Purifier using PEAR__. Normally, PEAR modifies your php.ini to include all libraries installed with PEAR. If you install HTML Purifier via PEAR you don't have to do anything extra.
|
+* __Install HTML Purifier using PEAR__. Normally, PEAR modifies your php.ini to include all libraries installed with PEAR. If you install HTML Purifier via PEAR you don't have to do anything extra.{code source="bash"}pear channel-discover htmlpurifier.org; |
+pear install hp/HTMLPurifier;{/code} |
* Or __download HTML Purifier from [http://htmlpurifier.org/|htmlpurifier.org]__ and unpack it somewhere on your server. You must then make sure that the library is in your ''include_path''. Two methods are described below. In short, you can either
|
** __modify your server's php.ini__,
|
** or __modify your bitweaver's config_inc.php__, assuming your php.ini allows using ''ini_set''.
|