Removed Application::preload in favor of Application::bootstrap

This commit is contained in:
Qiang Xue 2014-04-09 10:47:10 -04:00
parent 4f00e23565
commit 52eea89f09
2 changed files with 1 additions and 2 deletions

View File

@ -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' => [

View File

@ -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';
}