forked from kore/dsosim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.php
49 lines (49 loc) · 2.08 KB
/
bootstrap.php
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php // this is an autogenerated file - do not edit (created Sun, 20 Feb 2011 12:38:42 +0100)
spl_autoload_register(
function($class) {
static $classes = null;
if ($classes === null) {
$classes = array(
'armbrustschütze' => '/units/player.php',
'army' => '/army.php',
'armyclivisitor' => '/army_visitor/cli.php',
'armyfactory' => '/army_factory.php',
'armyresult' => '/structs/army_result.php',
'armyvisitor' => '/army_visitor.php',
'bogenschütze' => '/units/player.php',
'chuck' => '/units/barbarians.php',
'diewildewaltraud' => '/units/barbarians.php',
'einäugigerbert' => '/units/barbarians.php',
'elitesoldat' => '/units/player.php',
'fastunit' => '/fast_unit.php',
'fight' => '/fighter.php',
'fightoptimizer' => '/fighter/optimizer.php',
'general' => '/units/player.php',
'kanonier' => '/units/player.php',
'langbogenschütze' => '/units/player.php',
'metallgebiss' => '/units/barbarians.php',
'miliz' => '/units/player.php',
'multifight' => '/fighter/multi.php',
'optimizeresult' => '/structs/optimze_result.php',
'plünderer' => '/units/barbarians.php',
'raufbold' => '/units/barbarians.php',
'reiterei' => '/units/player.php',
'rekrut' => '/units/player.php',
'result' => '/structs/result.php',
'schläger' => '/units/barbarians.php',
'soldat' => '/units/player.php',
'steinwerfer' => '/units/barbarians.php',
'stinktier' => '/units/barbarians.php',
'unit' => '/unit.php',
'unitresult' => '/structs/unit_result.php',
'unitset' => '/unit_set.php',
'wachhund' => '/units/barbarians.php',
'waldläufer' => '/units/barbarians.php'
);
}
$cn = strtolower($class);
if (isset($classes[$cn])) {
require __DIR__ . $classes[$cn];
}
}
);