Removed Application::preload
in favor of Application::bootstrap
This commit is contained in:
parent
4f00e23565
commit
52eea89f09
@ -8,7 +8,6 @@ $db = require(__DIR__ . '/db.php');
|
||||
return [
|
||||
'id' => 'basic-console',
|
||||
'basePath' => dirname(__DIR__),
|
||||
'preload' => ['log'],
|
||||
'controllerNamespace' => 'app\commands',
|
||||
'extensions' => require(__DIR__ . '/../vendor/yiisoft/extensions.php'),
|
||||
'components' => [
|
||||
|
@ -38,7 +38,7 @@ $config = [
|
||||
|
||||
if (YII_ENV_DEV) {
|
||||
// configuration adjustments for 'dev' environment
|
||||
$config['preload'][] = 'debug';
|
||||
$config['bootstrap'][] = 'debug';
|
||||
$config['modules']['debug'] = 'yii\debug\Module';
|
||||
$config['modules']['gii'] = 'yii\gii\Module';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user