S2OJ/web/app/vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload-legacy.php

15 lines
213 B
PHP
Raw Permalink Normal View History

2022-10-09 13:45:29 +00:00
<?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