mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Reverting change from [16387f1961
]. Using
the constant caused a number of issues for several other people. Refs #1231
This commit is contained in:
parent
d56b812181
commit
268dae722e
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 && $dir === basename($base)) {
|
if ($dir === 'app' && $dir === basename($base)) {
|
||||||
$base = dirname($base);
|
$base = dirname($base);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue