Permalink
Browse files

Applying patch from 'Utoxin' that removes hardcoded 'app' string from…

… Dispatcher. Fixes #1231
  • Loading branch information...
1 parent 48c2c16 commit 6a0ae7d849dd608f13dfc303b149e7154678e92d @markstory markstory committed Oct 28, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 cake/dispatcher.php
View
@@ -355,7 +355,7 @@ function baseUrl() {
if ($webroot === 'webroot' && $webroot === basename($base)) {
$base = dirname($base);
}
- if ($dir === 'app' && $dir === basename($base)) {
+ if ($dir === APP_DIR && $dir === basename($base)) {
$base = dirname($base);
}
@@ -691,4 +691,4 @@ function cached($url) {
return false;
}
}
-?>
+?>

0 comments on commit 6a0ae7d

Please sign in to comment.