diff options
Diffstat (limited to 'public')
| -rw-r--r-- | public/plugins.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/plugins.php b/public/plugins.php index c512dbf..9f30028 100644 --- a/public/plugins.php +++ b/public/plugins.php @@ -53,7 +53,7 @@ $plugin_dispatch = function (ServerRequestInterface $request, RequestHandlerInte PageLayout::setTitle($plugin->getPluginName()); $still_not_consumed = $plugin->registerSlimRoutes($unconsumed, $app); if ($still_not_consumed !== false) { - $app->any(Request::pathInfo(), $plugin->getRouteCallable($still_not_consumed)); + $app->any('{path_info:.*}', $plugin->getRouteCallable($still_not_consumed)); } } catch (AccessDeniedException $ade) { $_SESSION['redirect_after_login'] = Request::url(); |
