mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Adding App::init() to bootstrap App now that its static.
This commit is contained in:
parent
d28f7f4144
commit
a04c87c42a
1 changed files with 2 additions and 1 deletions
|
@ -383,6 +383,7 @@ class Configure {
|
||||||
}
|
}
|
||||||
Cache::config('default');
|
Cache::config('default');
|
||||||
}
|
}
|
||||||
|
App::init();
|
||||||
App::build();
|
App::build();
|
||||||
if (!include(CONFIGS . 'bootstrap.php')) {
|
if (!include(CONFIGS . 'bootstrap.php')) {
|
||||||
trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP."), CONFIGS), E_USER_ERROR);
|
trigger_error(sprintf(__("Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP."), CONFIGS), E_USER_ERROR);
|
||||||
|
@ -1233,4 +1234,4 @@ class App {
|
||||||
Cache::write('object_map', self::$__objects, '_cake_core_');
|
Cache::write('object_map', self::$__objects, '_cake_core_');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue