From bb605662dfc3b35d71a6f3722a9852dc34b88235 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Thu, 30 Apr 2009 18:54:11 +0200 Subject: [PATCH] We don't need to determine the application here. --- koward/lib/Koward.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/koward/lib/Koward.php b/koward/lib/Koward.php index f68fad89b..3c56d4ee0 100644 --- a/koward/lib/Koward.php +++ b/koward/lib/Koward.php @@ -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)) { -- 2.11.0