fix: [settings] invalid bootstrap loading of config.json
- it was dependent on the app_local.php file existingdependabot/npm_and_yarn/webroot/theme/braces-3.0.3
parent
8603b7da04
commit
6907ed2842
|
@ -89,6 +89,8 @@ try {
|
|||
if (file_exists(CONFIG . 'app_local.php')) {
|
||||
Configure::load('app_local', 'default');
|
||||
//Configure::load('cerebrate', 'default', true);
|
||||
}
|
||||
|
||||
$settingsFile = new File(CONFIG . 'config.json');
|
||||
if ($settingsFile->exists()) {
|
||||
$settings = file_get_contents(CONFIG . 'config.json');
|
||||
|
@ -101,7 +103,6 @@ if (file_exists(CONFIG . 'app_local.php')) {
|
|||
Configure::write($path, $setting);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* When debug = true the metadata cache should only last
|
||||
|
|
Loading…
Reference in New Issue