Permalink
Browse files

Reverting change from [16387f1]. Using

the constant caused a number of issues for several other people. Refs #1231
  • Loading branch information...
1 parent 83af94d commit 05572f65ac20fbe3edbb2f66c49c834839007ecd @markstory markstory committed Nov 6, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/dispatcher.php
View
@@ -355,7 +355,7 @@ function baseUrl() {
if ($webroot === 'webroot' && $webroot === basename($base)) {
$base = dirname($base);
}
- if ($dir === APP_DIR && $dir === basename($base)) {
+ if ($dir === 'app' && $dir === basename($base)) {
$base = dirname($base);
}

0 comments on commit 05572f6

Please sign in to comment.