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