1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-08-09 07:36:40 +02:00

Fix bug with safe-includes generation

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1646 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-04-04 17:47:52 +00:00
parent 08bdeb2ac2
commit 6b21a841c4
2 changed files with 184 additions and 184 deletions

View File

@@ -168,12 +168,12 @@ $php = "<?php
* Changes to include_path are not necessary.
*/
$__dir = dirname(__FILE__);
\$__dir = dirname(__FILE__);
";
foreach ($files as $file) {
$php .= "require_once \$__dir . '$file';" . PHP_EOL;
$php .= "require_once \$__dir . '/$file';" . PHP_EOL;
}
echo "Writing HTMLPurifier.safe-includes.php... ";