mirror of
https://github.com/flarum/core.git
synced 2025-02-24 03:05:12 +01:00
fix empty base url (#1453)
This commit is contained in:
parent
aa70441632
commit
e3afb38427
@ -77,7 +77,7 @@ class InstallController implements RequestHandlerInterface
|
||||
'email' => array_get($input, 'adminEmail'),
|
||||
]);
|
||||
|
||||
$baseUrl = rtrim((string) $request->getAttribute('originalUri'), '/');
|
||||
$baseUrl = rtrim((string) $request->getUri(), '/');
|
||||
$data->setBaseUrl($baseUrl);
|
||||
|
||||
$data->setSetting('forum_title', array_get($input, 'forumTitle'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user