Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public static function boot() |
||
12 | { |
||
13 | $application = Application::getInstance(); |
||
14 | |||
15 | $application->setSiteConfig(self::getSiteConfig()); |
||
16 | $application->setErrorReporterConfig(self::getErrorReporterConfig()); |
||
17 | $application->setDbConfig(self::getDbConfig()); |
||
18 | $application->setViewEngineConfig(self::getViewEngineConfig()); |
||
19 | |||
20 | $application->setDisplayError(self::getSiteConfig()['displayErrors']); |
||
21 | $application->registerErrorReporters(); |
||
22 | |||
23 | $application->setRouterConfig(self::getRouterConfig()); |
||
24 | $application->dispatcher(new Request()); |
||
25 | } |
||
26 | |||
52 |