0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-01-05 06:01:52 +00:00

Remove unnecessary includes: includes now works.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1546 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang 2008-02-10 22:51:33 +00:00
parent de6e024464
commit e9c22df148
3 changed files with 3 additions and 10 deletions

6
TODO
View File

@ -12,13 +12,11 @@ amount of effort to implement, it may get endlessly delayed. Do not be
afraid to cast your vote for the next feature to be implemented! afraid to cast your vote for the next feature to be implemented!
IMPORTANT IMPORTANT
- Put our new configuration thing into effect
- Get rid of the manual includes in ConfigSchema (this means changing
generate-includes.php too)
- Get everything into configuration objects (filters, I'm looking at you) - Get everything into configuration objects (filters, I'm looking at you)
- Factor demo.php into a set of Printer classes, and then create a stub - Factor demo.php into a set of Printer classes, and then create a stub
file for users here file for users here
- Test HTMLPurifier.auto.php - Test HTMLPurifier.auto.php, HTMLPurifier.includes.php, and combinations
of the two.
3.1 release [Error'ed] 3.1 release [Error'ed]
# Error logging for filtering/cleanup procedures # Error logging for filtering/cleanup procedures

View File

@ -2,12 +2,6 @@
if (!defined('HTMLPURIFIER_SCHEMA_STRICT')) define('HTMLPURIFIER_SCHEMA_STRICT', false); if (!defined('HTMLPURIFIER_SCHEMA_STRICT')) define('HTMLPURIFIER_SCHEMA_STRICT', false);
// REMOVE THESE LATER:
require_once 'HTMLPurifier/ConfigDef.php';
require_once 'HTMLPurifier/ConfigDef/Directive.php';
require_once 'HTMLPurifier/ConfigDef/DirectiveAlias.php';
require_once 'HTMLPurifier/ConfigDef/Namespace.php';
/** /**
* Configuration definition, defines directives and their defaults. * Configuration definition, defines directives and their defaults.
* @note If you update this, please update Printer_ConfigForm * @note If you update this, please update Printer_ConfigForm

View File

@ -54,6 +54,7 @@ if ($AC['standalone']) {
} else { } else {
set_include_path(realpath('../library') . PATH_SEPARATOR . get_include_path() ); set_include_path(realpath('../library') . PATH_SEPARATOR . get_include_path() );
require_once 'HTMLPurifier.auto.php'; require_once 'HTMLPurifier.auto.php';
require_once 'HTMLPurifier.includes.php';
} }
require_once 'HTMLPurifier/Harness.php'; require_once 'HTMLPurifier/Harness.php';