'app-backend', 'name' => 'distrib', 'basePath' => dirname(__DIR__), 'controllerNamespace' => 'backend\controllers', 'defaultRoute' => 'site/index', 'bootstrap' => ['log'], 'modules' => [], 'components' => [ 'log' => [ 'traceLevel' => YII_DEBUG ? 3 : 0, 'targets' => [ [ 'class' => 'yii\log\FileTarget', 'levels' => ['error', 'warning'], ], ], ], 'errorHandler' => [ 'errorAction' => 'site/error', ], 'urlManager' => $common_config_main['components']['urlManagerBackend'], 'assetManager' => [ 'bundles' => [ 'dmstr\web\AdminLteAsset' => [ 'skin' => 'skin-black', ], ], ], 'view' => [ 'class' => 'common\components\MyView', ], ], 'params' => $params, ];