/** * @inheritdoc */ public function init() { parent::init(); $this->uploadPath = Yii::getAlias($this->uploadPath); }