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