Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
62 lines (48 sloc) 1.72 KB
require_once 'PEAR/PackageFileManager2.php';
require_once 'PEAR/PackageFileManager/File.php';
$pkg = new PEAR_PackageFileManager2;
'baseinstalldir' => '/',
'packagefile' => 'package.xml',
'packagedirectory' => realpath(dirname(__FILE__) . '/library'),
'filelistgenerator' => 'file',
'include' => array('*'),
'dir_roles' => array('/' => 'php'), // hack to put *.ser files in the right place
'ignore' => array(
$pkg->setLicense('LGPL', '');
$pkg->setSummary('Standards-compliant HTML filter');
'HTML Purifier is an HTML filter that will remove all malicious code
(better known as XSS) with a thoroughly audited, secure yet permissive
whitelist and will also make sure your documents are standards
$pkg->addMaintainer('lead', 'ezyang', 'Edward Z. Yang', '', 'yes');
$version = trim(file_get_contents('VERSION'));
$api_version = substr($version, 0, strrpos($version, '.'));
// vim: et sw=4 sts=4
Jump to Line
Something went wrong with that request. Please try again.