@ -15,6 +15,7 @@ return [
'preload' => ['log'],
'controllerNamespace' => 'backend\controllers',
'modules' => [],
'extensions' => require(__DIR__ . '/../../vendor/yii-extensions.php'),
'components' => [
'request' => [
'enableCsrfValidation' => true,
'controllerNamespace' => 'console\controllers',
'modules' => [
],
'db' => $params['components.db'],
'cache' => $params['components.cache'],
@ -4,7 +4,6 @@ defined('YII_ENV') or define('YII_ENV', 'dev');
require(__DIR__ . '/../../vendor/autoload.php');
require(__DIR__ . '/../../vendor/yiisoft/yii2/yii/Yii.php');
Yii::importNamespaces(require(__DIR__ . '/../../vendor/composer/autoload_namespaces.php'));
$config = yii\helpers\ArrayHelper::merge(
require(__DIR__ . '/../config/main.php'),
@ -16,7 +16,6 @@ defined('STDIN') or define('STDIN', fopen('php://stdin', 'r'));
require(__DIR__ . '/vendor/autoload.php');
require(__DIR__ . '/vendor/yiisoft/yii2/yii/Yii.php');
Yii::importNamespaces(require(__DIR__ . '/vendor/composer/autoload_namespaces.php'));
require(__DIR__ . '/console/config/main.php'),
@ -4,7 +4,6 @@ defined('YII_ENV') or define('YII_ENV', 'prod');
@ -16,6 +16,7 @@ return [
'gii' => 'yii\gii\Module'