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

[3.1.0] Fix broken autoloader, resulting in duplicate classes

- Factor out phpt directory parsing
- More phpt tests

git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1561 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
Edward Z. Yang
2008-02-17 23:59:23 +00:00
parent a3b6a15595
commit 40d3d5b961
6 changed files with 50 additions and 21 deletions

View File

@@ -11,6 +11,7 @@ class HTMLPurifierExtras
$path = HTMLPurifierExtras::getPath($class);
if (!$path) return false;
require $path;
return true;
}
public static function getPath($class) {