mirror of
https://github.com/renbaoshuo/S2OJ.git
synced 2024-12-27 01:31:52 +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
|