From 16387f196191c5cb942f887f05456cb439944f41 Mon Sep 17 00:00:00 2001 From: mark_story Date: Wed, 27 Oct 2010 22:42:12 -0400 Subject: [PATCH] Applying patch from 'Utoxin' that removes hardcoded 'app' string from Dispatcher. Fixes #1231 --- cake/dispatcher.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/dispatcher.php b/cake/dispatcher.php index 1597c666f..5080bfe90 100644 --- a/cake/dispatcher.php +++ b/cake/dispatcher.php @@ -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); }