private function initRouteService() { $phpSelf = $_SERVER['PHP_SELF']; $index = basename($phpSelf); RouteService::init(str_replace($index, '', $phpSelf)); }