mirror of
https://github.com/humhub/humhub.git
synced 2025-03-03 14:49:31 +01:00
Fixed theme getBaseUrl
This commit is contained in:
parent
d8f858bf7c
commit
9ea94d3892
@ -60,7 +60,7 @@ class Theme extends \yii\base\Theme
|
||||
return $this->_baseUrl;
|
||||
}
|
||||
|
||||
$this->_baseUrl = ($this->publishResources) ? $this->publishResources() : $this->theme->getBaseUrl();
|
||||
$this->_baseUrl = ($this->publishResources) ? $this->publishResources() : rtrim(Yii::getAlias('@web/themes/' . $this->name), '/');
|
||||
return $this->_baseUrl;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user