projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
221a301
)
We don't need to determine the application here.
author
Gunnar Wrobel
<p@rdus.de>
Thu, 30 Apr 2009 16:54:11 +0000
(18:54 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Thu, 30 Apr 2009 16:54:11 +0000
(18:54 +0200)
koward/lib/Koward.php
patch
|
blob
|
history
diff --git
a/koward/lib/Koward.php
b/koward/lib/Koward.php
index
f68fad8
..
3c56d4e
100644
(file)
--- 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)) {