mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
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
This commit is contained in:
parent
c91965dc89
commit
dbf0181e26
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue