Reverting change from [16387f1961]. Using

the constant caused a number of issues for several other people. Refs #1231
This commit is contained in:
mark_story 2010-11-05 22:31:41 -04:00
parent d56b812181
commit 268dae722e

View file

@ -339,7 +339,7 @@ class Dispatcher extends Object {
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);
}