mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-11-23 10:38:42 +00:00
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
|