<?php $params=array_merge(require __DIR__.'/../../common/config/params.php',require __DIR__.'/../../common/config/params-local.php',require __DIR__.'/params.php',require __DIR__.'/params-local.php');return [ 'id'=>'app-myresto','basePath'=>dirname(__DIR__),'controllerNamespace'=>'myresto\controllers','bootstrap'=>['log'],'modules'=>[ 'admin'=>[ 'class'=>'mdm\admin\Module','controllerMap'=>[ 'user'=>'myresto\controllers\UserController','role'=>'myresto\controllers\RoleController',],] ],'components'=>[ 'request'=>[ 'csrfParam'=>'_csrf-myresto',],'user'=>[ 'identityClass'=>'common\models\User','enableAutoLogin'=>true,'identityCookie'=>['name'=>'_identity-myresto','httpOnly'=>true],],'session'=>[ 'name'=>'advanced-myresto',],'log'=>[ 'traceLevel'=>YII_DEBUG?3:0,'targets'=>[ [ 'class'=>'yii\log\FileTarget','levels'=>['error','warning'],],],],'errorHandler'=>[ 'errorAction'=>'site/error',],'authManager'=>[ 'class'=>'yii\rbac\PhpManager',],'assetManager'=>[ 'bundles'=>[ 'yii\web\JqueryAsset'=>[ 'jsOptions'=>[ 'position'=>\yii\web\View::POS_HEAD ],],'dmstr\web\AdminLteAsset'=>[ 'skin'=>'skin-red',],],],'view'=>[ 'theme'=>[ 'pathMap'=>[ '@mdm/admin/views/user'=>'@app/views/user','@mdm/admin/views/assignment'=>'@app/views/assignment','@mdm/admin/views/item'=>'@app/views/item' ],],],],'as access'=>[ 'class'=>'mdm\admin\components\AccessControl','allowActions'=>[ 'site/set-db',] ],'params'=>$params,];