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(); }
protected static function onDispatch() { \ManiaLib\Application\ConfigLoader::getInstance()->run(); Dispatcher::getInstance()->run(); }