File: HTMLPurifier.autoload-legacy.php

package info (click to toggle)
php-htmlpurifier 4.11.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,412 kB
  • sloc: php: 16,721; xml: 449; sh: 18; makefile: 14; javascript: 3
file content (15 lines) | stat: -rw-r--r-- 261 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

/**
 * @file
 * Legacy autoloader for systems lacking spl_autoload_register
 *
 * Must be separate to prevent deprecation warning on PHP 7.2
 */

function __autoload($class)
{
    return HTMLPurifier_Bootstrap::autoload($class);
}

// vim: et sw=4 sts=4