mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
Applying patch from 'Utoxin' that removes hardcoded 'app' string from Dispatcher. Fixes #1231
This commit is contained in:
parent
3639f52117
commit
16387f1961
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue