15 lines
213 B
PHP
15 lines
213 B
PHP
|
<?php
|
||
|
|
||
|
/**
|
||
|
* @file
|
||
|
* Legacy autoloader for systems lacking spl_autoload_register
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
spl_autoload_register(function($class)
|
||
|
{
|
||
|
return HTMLPurifier_Bootstrap::autoload($class);
|
||
|
});
|
||
|
|
||
|
// vim: et sw=4 sts=4
|