mirror of
https://github.com/humhub/humhub.git
synced 2025-03-14 20:19:47 +01:00
Don't overwrite baseUrl if set to null (failed testing on windows)
This commit is contained in:
parent
c733cf17b6
commit
dcd41d049d
@ -34,9 +34,13 @@ class Application extends \yii\console\Application
|
||||
|
||||
if ($this->isDatabaseInstalled()) {
|
||||
$baseUrl = Setting::get('baseUrl');
|
||||
Yii::setAlias(("@web"), $baseUrl);
|
||||
$this->urlManager->scriptUrl = $baseUrl;
|
||||
$this->urlManager->baseUrl = $baseUrl;
|
||||
|
||||
if($baseUrl != null) {
|
||||
Yii::setAlias(("@web"), $baseUrl);
|
||||
$this->urlManager->scriptUrl = $baseUrl;
|
||||
$this->urlManager->baseUrl = $baseUrl;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user