Permalink
Browse files

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

… Dispatcher. Fixes #1231
  • Loading branch information...
1 parent 3639f52 commit 16387f196191c5cb942f887f05456cb439944f41 @markstory markstory committed Oct 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/dispatcher.php
View
2 cake/dispatcher.php
@@ -339,7 +339,7 @@ function baseUrl() {
if ($webroot === 'webroot' && $webroot === basename($base)) {
@ADmad
ADmad Oct 28, 2010

Mark, shouldn't the string 'webroot' also be replaced with WEBROOT_DIR?

@markstory
markstory Oct 29, 2010

Yeah it probably should, now that you mention it.

$base = dirname($base);
}
- if ($dir === 'app' && $dir === basename($base)) {
+ if ($dir === APP_DIR && $dir === basename($base)) {
$base = dirname($base);
}

0 comments on commit 16387f1

Please sign in to comment.