blob: 22ad17d30dbd2e6ebef0ba25c86cf37e62d667d8 (
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
31
32
33
34
35
|
<?php
/* Inspired from autoload from version 2.0.3 */
$vendorDir = '/usr/share/php';
require_once $vendorDir . '/SebastianBergmann/FinderFacade/autoload.php';
require_once $vendorDir . '/SebastianBergmann/Git/autoload.php';
require_once $vendorDir . '/SebastianBergmann/Version/autoload.php';
if (!(isset($sfuloader) && $sfuloader instanceof Symfony\Component\ClassLoader\UniversalClassLoader)) {
require_once $vendorDir . '/Symfony/Component/ClassLoader/UniversalClassLoader.php';
$sfuloader = new Symfony\Component\ClassLoader\UniversalClassLoader();
$sfuloader->register();
}
$sfuloader->registerNamespaces(array(
'Symfony\\Component\\Console' => $vendorDir,
'Symfony\\Component\\ClassLoader' => $vendorDir,
));
spl_autoload_register(
function($class) {
static $classes = null;
if ($classes === null) {
$classes = array(
___CLASSLIST___
);
}
$cn = strtolower($class);
if (isset($classes[$cn])) {
require ___BASEDIR___$classes[$cn];
}
}
);
|