Esempio n. 1
0
 /**
  * @inheritdoc
  */
 public function init()
 {
     parent::init();
     $this->selectDatabase($this->database);
 }
Esempio n. 2
0
<?php

return ['vendorPath' => dirname(dirname(__DIR__)) . '/vendor', 'modules' => ['debug' => 'yii\\debug\\Module'], 'components' => ['cache' => ['class' => 'yii\\caching\\FileCache'], 'config' => ['class' => \common\compenents\Config::className(), 'ConfigPaths' => ['@common']], 'lang' => ['class' => \common\compenents\Lang::className()], 'queue' => ['class' => \yii\queue\RedisQueue::className()]]];