public function init() { $this->sourcePath = '@liuxy/themes/frontend/' . \Yii::$app->getView()->theme->template; parent::init(); // TODO: Change the autogenerated stub }