Esempio n. 1
0
 function run()
 {
     $manialiveAliases = array('config' => 'ManiaLive\\Config\\Config', 'database' => 'ManiaLive\\Database\\Config', 'wsapi' => 'ManiaLib\\WebServices\\Config', 'manialive' => 'ManiaLive\\Application\\Config', 'server' => 'ManiaLive\\DedicatedApi\\Config', 'threading' => 'ManiaLive\\Threading\\Config');
     $this->aliases = array_merge($this->aliases, $manialiveAliases);
     parent::run();
 }
Esempio n. 2
0
 protected static function onDispatch()
 {
     \ManiaLib\Application\ConfigLoader::getInstance()->run();
     Dispatcher::getInstance()->run();
 }