From 22cf19e174bcee88b44968f2773d1bad2da2b54d Mon Sep 17 00:00:00 2001 From: friendica Date: Wed, 18 Jul 2012 03:59:10 -0700 Subject: bad sync with github windows client --- .../maintenance/generate-entity-file.php | 74 ---------------------- 1 file changed, 74 deletions(-) delete mode 100755 lib/htmlpurifier/maintenance/generate-entity-file.php (limited to 'lib/htmlpurifier/maintenance/generate-entity-file.php') diff --git a/lib/htmlpurifier/maintenance/generate-entity-file.php b/lib/htmlpurifier/maintenance/generate-entity-file.php deleted file mode 100755 index dee8e61e7..000000000 --- a/lib/htmlpurifier/maintenance/generate-entity-file.php +++ /dev/null @@ -1,74 +0,0 @@ -#!/usr/bin/php -/'; - -foreach ( $entity_files as $file ) { - $contents = file_get_contents($entity_dir . $file); - $matches = array(); - preg_match_all($regexp, $contents, $matches, PREG_SET_ORDER); - foreach ($matches as $match) { - $entity_table[$match[1]] = unichr($match[2]); - } -} - -$output = serialize($entity_table); - -$fh = fopen($output_file, 'w'); -fwrite($fh, $output); -fclose($fh); - -echo "Completed successfully."; - -// vim: et sw=4 sts=4 -- cgit v1.2.3