mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-12 06:56:24 +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)) {
|
if ($webroot === 'webroot' && $webroot === basename($base)) {
|
||||||
$base = dirname($base);
|
$base = dirname($base);
|
||||||
}
|
}
|
||||||
if ($dir === 'app' && $dir === basename($base)) {
|
if ($dir === APP_DIR && $dir === basename($base)) {
|
||||||
$base = dirname($base);
|
$base = dirname($base);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue