1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-01 20:00:39 +02:00

Make bootstrap a require_once... for now.

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1526 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-01-27 21:21:18 +00:00
parent a74a590f1c
commit f2e42d1d3e

View File

@@ -23,6 +23,7 @@ $exclude_dirs = array(
$exclude_files = array( $exclude_files = array(
'HTMLPurifier/Lexer/PEARSax3.php', 'HTMLPurifier/Lexer/PEARSax3.php',
'HTMLPurifier/Lexer/PH5P.php', 'HTMLPurifier/Lexer/PH5P.php',
'HTMLPurifier/Bootstrap.php',
'HTMLPurifier/ConfigDef.php', // specially handled, remove this once fixed! 'HTMLPurifier/ConfigDef.php', // specially handled, remove this once fixed!
); );
@@ -140,6 +141,9 @@ $php = "<?php
* library directory; this is not auto-set. * library directory; this is not auto-set.
*/ */
// Treat this file specially, as it is detached from the rest of the library
require_once 'HTMLPurifier/Bootstrap.php';
"; ";
foreach ($files as $file) { foreach ($files as $file) {