mirror of
https://github.com/flarum/framework.git
synced 2025-03-02 15:22:12 +08:00
fix empty base url (#1453)
This commit is contained in:
parent
ad74488af8
commit
d20de83718
@ -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