Quarantine __autoload defs for PHP 7.2 compat
[htmlpurifier.git] / extras / HTMLPurifierExtras.autoload-legacy.php
blobd1485bf2ec94d5e11a1f96ac681228215d201829
1 <?php
3 /**
4 * @file
5 * Legacy autoloader for systems lacking spl_autoload_register
7 * Must be separate to prevent deprecation warning on PHP 7.2
8 */
10 function __autoload($class)
12 return HTMLPurifierExtras::autoload($class);
15 // vim: et sw=4 sts=4