From 05572f65ac20fbe3edbb2f66c49c834839007ecd Mon Sep 17 00:00:00 2001 From: mark_story Date: Fri, 5 Nov 2010 22:31:41 -0400 Subject: [PATCH] Reverting change from [16387f196191c5cb942f887f05456cb439944f41]. Using the constant caused a number of issues for several other people. Refs #1231 --- cake/dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/dispatcher.php b/cake/dispatcher.php index 4e5a2c3ee97..29b4dced50f 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -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); }