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

[3.1.0] Further cleanup, making standalone work again

- Remove includes call in HTMLPurifier.auto.php
- Relax ConfigSchema treatment in generate-includes.php
- Clean up some empty comments (there are probably more)
- De-indent some extends
- class_exists() should now attempt to use autoload
- schema.ser is now a standalone file
- tests/index.php can be run from any directory

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1540 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-02-10 21:34:52 +00:00
parent 35f8b3c801
commit 37b24b6732
13 changed files with 51 additions and 56 deletions

View File

@@ -15,6 +15,7 @@
define('HTMLPurifierTest', 1);
define('HTMLPURIFIER_SCHEMA_STRICT', true); // validate schemas
chdir(dirname(__FILE__));
require_once 'common.php';
@@ -52,7 +53,7 @@ if ($AC['standalone']) {
require_once '../library/HTMLPurifier.standalone.php';
} else {
set_include_path(realpath('../library') . PATH_SEPARATOR . get_include_path() );
require_once 'HTMLPurifier.includes.php';
require_once 'HTMLPurifier.auto.php';
}
require_once 'HTMLPurifier/Harness.php';