mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-24 01:01:53 +00:00
43a5ef3cc6
git-svn-id: http://htmlpurifier.org/svnroot/htmlpurifier/trunk@1511 48356398-32a2-884e-a903-53898d9a118a
8 lines
232 B
PHP
8 lines
232 B
PHP
<?php
|
|
|
|
if (function_exists('spl_autoload_register')) {
|
|
spl_autoload_register(array('HTMLPurifier', 'autoload'));
|
|
} elseif (!function_exists('__autoload')) {
|
|
function __autoload($class) {return HTMLPurifier::autoload($class);}
|
|
}
|