From 2b27b45aba4ba40a6b601e55073a196f1eb48bb6 Mon Sep 17 00:00:00 2001 From: msquare Date: Sun, 3 Nov 2019 12:21:37 +0100 Subject: remove legacy file guest start --- src/Middleware/LegacyMiddleware.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') 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')); } /** -- cgit v1.2.3-70-g09d2