From: Gunnar Wrobel Date: Thu, 30 Apr 2009 16:54:11 +0000 (+0200) Subject: We don't need to determine the application here. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=bb605662dfc3b35d71a6f3722a9852dc34b88235;p=horde.git We don't need to determine the application here. --- 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)) {