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:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user