skeeks\cms\components\storage\ClusterLocal::init PHP Method

init() public method

public init ( )
    public function init()
    {
        if (!$this->name) {
            $this->name = \Yii::t('skeeks/cms', "Local storage");
        }
        if (!$this->publicBaseUrl) {
            $this->publicBaseUrl = "/uploads/all";
        }
        if (!$this->rootBasePath) {
            $this->rootBasePath = \Yii::getAlias("@frontend/web/uploads/all");
        }
        parent::init();
    }