Skip to content

Commit

Permalink
Reverting change from [16387f1]. Using
Browse files Browse the repository at this point in the history
the constant caused a number of issues for several other people. Refs #1231
  • Loading branch information
markstory committed Nov 6, 2010
1 parent 83af94d commit 05572f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cake/dispatcher.php
Expand Up @@ -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);
}

Expand Down

0 comments on commit 05572f6

Please sign in to comment.