getBaseUrl()); return [ 'id' => 'app-meetings', 'basePath' => dirname ( __DIR__ ), 'bootstrap' => [ 'log' ], 'controllerNamespace' => 'meetings\controllers', 'components' => [ 'request' => [ 'baseUrl' => $baseUrl, ], 'user' => [ 'identityClass' => 'common\models\User', 'enableAutoLogin' => true ], 'log' => [ 'traceLevel' => YII_DEBUG ? 3 : 0, 'targets' => [ [ 'class' => 'yii\log\FileTarget', 'levels' => [ 'error', 'warning', 'info' ] ] ] ], 'errorHandler' => [ 'errorAction' => 'site/error' ], 'db' => [ 'class' => '\yii\db\Connection', 'dsn' => 'mysql:host=130.133.70.51;dbname=ggbn_index', 'username' => 'dnabank', 'password' => '', 'charset' => 'utf8' ], 'urlManager' => [ 'class' => 'yii\web\UrlManager', 'baseUrl' => $baseUrl, 'enablePrettyUrl' => true, 'showScriptName' => false, 'rules' => array( '/' => '/view', '//' => '/', '/' => '/', ), ] ], 'params' => $params ];