Merge branch 'master' into new-asset
Conflicts: apps/basic/composer.json composer.json
This commit is contained in:
commit
1b58a71ef9
@ -25,26 +25,27 @@
|
||||
"yiisoft/yii2-gii": "*",
|
||||
"yiisoft/yii2-faker": "*"
|
||||
},
|
||||
"scripts": {
|
||||
"post-create-project-cmd": [
|
||||
"yii\\composer\\Installer::setPermission",
|
||||
"yii\\composer\\Installer::generateCookieValidationKey"
|
||||
]
|
||||
},
|
||||
"config": {
|
||||
"process-timeout": 1800
|
||||
},
|
||||
"scripts": {
|
||||
"post-create-project-cmd": [
|
||||
"yii\\composer\\Installer::postCreateProject"
|
||||
]
|
||||
},
|
||||
"extra": {
|
||||
"writable": [
|
||||
"runtime",
|
||||
"web/assets"
|
||||
],
|
||||
"executable": [
|
||||
"yii"
|
||||
],
|
||||
"config": [
|
||||
"config/web.php"
|
||||
],
|
||||
"yii\\composer\\Installer::postCreateProject": {
|
||||
"setPermission": [
|
||||
{
|
||||
"runtime": "0777",
|
||||
"web/assets": "0777",
|
||||
"yii": "0755"
|
||||
}
|
||||
],
|
||||
"generateCookieValidationKey": [
|
||||
"config/web.php"
|
||||
]
|
||||
},
|
||||
"asset-installer-paths": {
|
||||
"npm-asset-library": "vendor/npm",
|
||||
"bower-asset-library": "vendor/bower"
|
||||
|
@ -8,8 +8,11 @@ $db = require(__DIR__ . '/db.php');
|
||||
return [
|
||||
'id' => 'basic-console',
|
||||
'basePath' => dirname(__DIR__),
|
||||
'bootstrap' => ['log'],
|
||||
'bootstrap' => ['log', 'gii'],
|
||||
'controllerNamespace' => 'app\commands',
|
||||
'modules' => [
|
||||
'gii' => 'yii\gii\Module',
|
||||
],
|
||||
'components' => [
|
||||
'cache' => [
|
||||
'class' => 'yii\caching\FileCache',
|
||||
|
@ -9,7 +9,7 @@ $config = [
|
||||
'components' => [
|
||||
'request' => [
|
||||
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
|
||||
'cookieValidationKey' => 'thisIsAKey',
|
||||
'cookieValidationKey' => '',
|
||||
],
|
||||
'cache' => [
|
||||
'class' => 'yii\caching\FileCache',
|
||||
@ -38,10 +38,6 @@ $config = [
|
||||
],
|
||||
],
|
||||
'db' => require(__DIR__ . '/db.php'),
|
||||
'urlManager' => [
|
||||
'enablePrettyUrl' => true,
|
||||
'showScriptName' => false,
|
||||
],
|
||||
],
|
||||
'params' => $params,
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user