mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 00:41:52 +00:00
Add required constant for composer autoloading
Signed-off-by: Michael Tibben <michael.tibben@99designs.com>
This commit is contained in:
parent
62d2550e16
commit
344e0640b6
@ -16,6 +16,7 @@
|
|||||||
"php": ">=5.2"
|
"php": ">=5.2"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"classmap": ["library/"]
|
"psr-0": { "HTMLPurifier": "library/" },
|
||||||
|
"files": ["library/HTMLPurifier.composer.php"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
4
library/HTMLPurifier.composer.php
Normal file
4
library/HTMLPurifier.composer.php
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<?php
|
||||||
|
if (!defined('HTMLPURIFIER_PREFIX')) {
|
||||||
|
define('HTMLPURIFIER_PREFIX', __DIR__);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user