File: HTMLPurifier.autoload-legacy.php

package info (click to toggle)
php-htmlpurifier 4.10.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,400 kB
  • sloc: php: 16,669; xml: 458; sh: 7; makefile: 7
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