浏览代码

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
phpnut 19 年之前
父节点
当前提交
dbf0181e26
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cake/bootstrap.php

+ 1 - 1
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 {