mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixing issue where prefixes would not be correctly loaded for a request.
This commit is contained in:
parent
1c6b261ff1
commit
af2a5123b5
1 changed files with 1 additions and 0 deletions
|
@ -711,6 +711,7 @@ class Router {
|
|||
public static function reload() {
|
||||
if (empty(self::$_initialState)) {
|
||||
self::$_initialState = get_class_vars('Router');
|
||||
self::_setPrefixes();
|
||||
return;
|
||||
}
|
||||
foreach (self::$_initialState as $key => $val) {
|
||||
|
|
Loading…
Reference in a new issue