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');
|
||||
}
|
||||
App::init();
|
||||
App::build();
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue