mirror of
https://github.com/flarum/core.git
synced 2025-07-27 11:40:24 +02:00
Get admin area working again
This commit is contained in:
@@ -41,7 +41,7 @@ class RouterMiddleware
|
||||
public function __invoke(Request $request, Response $response, callable $out = null)
|
||||
{
|
||||
$method = $request->getMethod();
|
||||
$uri = $request->getUri()->getPath();
|
||||
$uri = $request->getUri()->getPath() ?: '/';
|
||||
|
||||
$routeInfo = $this->getDispatcher()->dispatch($method, $uri);
|
||||
|
||||
|
Reference in New Issue
Block a user