We don't need to determine the application here.
authorGunnar Wrobel <p@rdus.de>
Thu, 30 Apr 2009 16:54:11 +0000 (18:54 +0200)
committerGunnar Wrobel <p@rdus.de>
Thu, 30 Apr 2009 16:54:11 +0000 (18:54 +0200)
koward/lib/Koward.php

index f68fad8..3c56d4e 100644 (file)
@@ -70,15 +70,6 @@ class Koward {
         // where they start.
         $mapper->prefix = $webroot;
 
-        $uri = $request->getUri();
-        $uri = substr($uri, strlen($webroot));
-        if (strpos($uri, '/') === false) {
-            $app = $uri;
-            $path = '';
-        } else {
-            list($app, $path) = explode('/', $uri, 2);
-        }
-
         // Check for route definitions.
         $routeFile = dirname($koward) . '/../../koward/config/routes.php';
         if (!file_exists($routeFile)) {