Applying patch from 'Utoxin' that removes hardcoded 'app' string from Dispatcher. Fixes #1231

This commit is contained in:
mark_story 2010-10-27 22:42:12 -04:00
parent 3639f52117
commit 16387f1961

View file

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