From dbf0181e262bc4992a9e3b51ef53adc4f2522f07 Mon Sep 17 00:00:00 2001 From: phpnut Date: Sun, 29 Apr 2007 00:19:29 +0000 Subject: [PATCH] Adding enhancement from #2502 replacing app with APP_DIR git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4896 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cake/bootstrap.php b/cake/bootstrap.php index cc0fd3a1f..a846b7632 100644 --- a/cake/bootstrap.php +++ b/cake/bootstrap.php @@ -59,7 +59,7 @@ if (!defined('PHP5')) { if (empty($uri) && defined('BASE_URL')) { $uri = setUri(); - if ($uri === '/' || $uri === '/index.php' || $uri === '/app/') { + if ($uri === '/' || $uri === '/index.php' || $uri === '/'.APP_DIR.'/') { $_GET['url'] = '/'; $url = '/'; } else {