S2OJ/web/app/vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload-legacy.php
Baoshuo 63bce3f253
All checks were successful
continuous-integration/drone/push Build is passing
chore(web): use composer
2022-10-09 21:45:29 +08:00

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