mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-12 09:04:31 +02:00
Regenerate HTMLPurifier.includes.php, and fix parse errors.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1545 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -59,6 +59,10 @@ foreach ($raw_files as $file) {
|
||||
function get_dependency_lookup($file) {
|
||||
static $cache = array();
|
||||
if (isset($cache[$file])) return $cache[$file];
|
||||
if (!file_exists($file)) {
|
||||
echo "File doesn't exist: $file\n";
|
||||
return array();
|
||||
}
|
||||
$fh = fopen($file, 'r');
|
||||
$deps = array();
|
||||
while (!feof($fh)) {
|
||||
|
Reference in New Issue
Block a user