1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-31 03:10:09 +02:00

[3.1.0] HTMLPURIFIER_PREFIX can be defined outside of HTML Purifier

- Update TODO

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1548 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-02-11 00:15:04 +00:00
parent d228d66785
commit 65d0e1fdfe
4 changed files with 21 additions and 5 deletions

View File

@@ -1,7 +1,9 @@
<?php
// constants are slow, but we'll make one exception
define('HTMLPURIFIER_PREFIX', realpath(dirname(__FILE__) . '/..'));
if (!defined('HTMLPURIFIER_PREFIX')) {
define('HTMLPURIFIER_PREFIX', realpath(dirname(__FILE__) . '/..'));
}
/**
* Bootstrap class that contains meta-functionality for HTML Purifier such as