mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-07-30 19:00:10 +02:00
Add support for autoload. We're not, however, using it by default.
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1511 48356398-32a2-884e-a903-53898d9a118a
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
// a little jumping through hoops to generate them
|
||||
function generate_mock_once($name) {
|
||||
$mock_name = $name . 'Mock';
|
||||
if (class_exists($mock_name)) return false;
|
||||
if (class_exists($mock_name, false)) return false;
|
||||
Mock::generate($name, $mock_name);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user