Refactored app bootstrap logic.
This commit is contained in:
parent
5e2d934270
commit
abcc78cd8f
@ -8,6 +8,7 @@ $db = require(__DIR__ . '/db.php');
|
||||
return [
|
||||
'id' => 'basic-console',
|
||||
'basePath' => dirname(__DIR__),
|
||||
'bootstrap' => ['log'],
|
||||
'controllerNamespace' => 'app\commands',
|
||||
'extensions' => require(__DIR__ . '/../vendor/yiisoft/extensions.php'),
|
||||
'components' => [
|
||||
|
@ -6,6 +6,7 @@ $db = require(__DIR__ . '/db.php');
|
||||
$config = [
|
||||
'id' => 'basic',
|
||||
'basePath' => dirname(__DIR__),
|
||||
'bootstrap' => ['log'],
|
||||
'extensions' => require(__DIR__ . '/../vendor/yiisoft/extensions.php'),
|
||||
'components' => [
|
||||
'cache' => [
|
||||
|
Loading…
Reference in New Issue
Block a user