0
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2024-12-24 01:01:53 +00:00
htmlpurifier/library/HTMLPurifier.autoload.php
2008-01-21 18:43:59 +00:00

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);}
}