diff options
author | msquare <msquare@notrademark.de> | 2019-11-03 12:21:37 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2019-11-03 12:21:37 +0100 |
commit | 2b27b45aba4ba40a6b601e55073a196f1eb48bb6 (patch) | |
tree | dcceb9e819901b957db25d0bca89ced3c04fb3b2 /src/Middleware/LegacyMiddleware.php | |
parent | 613d258c87fb3d8e6f221f4c416e3054583dcc79 (diff) |
remove legacy file guest start
Diffstat (limited to 'src/Middleware/LegacyMiddleware.php')
-rw-r--r-- | src/Middleware/LegacyMiddleware.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Middleware/LegacyMiddleware.php b/src/Middleware/LegacyMiddleware.php index 11508e1c..e26b0851 100644 --- a/src/Middleware/LegacyMiddleware.php +++ b/src/Middleware/LegacyMiddleware.php @@ -218,9 +218,7 @@ class LegacyMiddleware implements MiddlewareInterface return [$title, $content]; } - require_once realpath(__DIR__ . '/../../includes/pages/guest_start.php'); - $content = guest_start(); - return [$title, $content]; + redirect(page_link_to('login')); } /** |