blob: c7f66e02cb6eba62077c5e0520eb22e9726483dc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php
/* Inspired from autoload from version 0.9.3 */
require_once 'SebastianBergmann/FinderFacade/autoload.php';
require_once 'SebastianBergmann/Version/autoload.php';
require_once 'PHP/Token/Stream/Autoload.php';
require_once 'PHP/Timer/Autoload.php';
require_once 'Symfony/Component/Console/autoloader.php';
spl_autoload_register(
function ($class)
{
static $classes = NULL;
static $path = NULL;
if ($classes === NULL) {
$classes = array(
___CLASSLIST___
);
$path = dirname(__FILE__);
}
$cn = strtolower($class);
if (isset($classes[$cn])) {
require $path . $classes[$cn];
}
}
);
|