Beispiel #1
0
 public function route()
 {
     $route = $this->findRoute(implode('/', $this->route), $this->routes);
     if ($route) {
         $route->load();
     }
     $route = $this->findRoute('/*', $this->routes);
     if ($route) {
         $route->load();
     }
     /**
      * Need to handle 404's here?
      */
     $lost = new index();
     $lost->load();
 }