mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-22 08:21:52 +00:00
Make Composer work with PHP 5.2 and earlier. Reported by @voku
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
This commit is contained in:
parent
6f389f0f25
commit
18b8a0e44a
@ -1,4 +1,4 @@
|
|||||||
<?php
|
<?php
|
||||||
if (!defined('HTMLPURIFIER_PREFIX')) {
|
if (!defined('HTMLPURIFIER_PREFIX')) {
|
||||||
define('HTMLPURIFIER_PREFIX', __DIR__);
|
define('HTMLPURIFIER_PREFIX', dirname(__FILE__));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user