0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-09-19 10:45:18 +00:00

Add required constant for composer autoloading

Signed-off-by: Michael Tibben <michael.tibben@99designs.com>
This commit is contained in:
Michael Tibben 2012-12-20 12:29:23 +11:00 committed by Edward Z. Yang
parent 62d2550e16
commit 344e0640b6
2 changed files with 6 additions and 1 deletions

View File

@ -16,6 +16,7 @@
"php": ">=5.2"
},
"autoload": {
"classmap": ["library/"]
"psr-0": { "HTMLPurifier": "library/" },
"files": ["library/HTMLPurifier.composer.php"]
}
}

View File

@ -0,0 +1,4 @@
<?php
if (!defined('HTMLPURIFIER_PREFIX')) {
define('HTMLPURIFIER_PREFIX', __DIR__);
}