diff options
author | Janne Heß <janne@hess.ooo> | 2019-03-07 13:01:52 +0100 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2019-03-09 13:52:13 +0100 |
commit | afa4506e11f96d05a727e591301f98fb50f8fad4 (patch) | |
tree | ecca4d5bc66589c599b2c71e7d504da52fda7099 /src/Middleware | |
parent | cd2f78924b41c70d1bc13fc45e0d025a56e32c48 (diff) |
Support alternative home sites
Diffstat (limited to 'src/Middleware')
-rw-r--r-- | src/Middleware/LegacyMiddleware.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Middleware/LegacyMiddleware.php b/src/Middleware/LegacyMiddleware.php index 8524764f..0aca3813 100644 --- a/src/Middleware/LegacyMiddleware.php +++ b/src/Middleware/LegacyMiddleware.php @@ -71,7 +71,7 @@ class LegacyMiddleware implements MiddlewareInterface $page = str_replace('-', '_', $page); } if ($page == '/') { - $page = $this->auth->user() ? 'news' : 'login'; + $page = $this->auth->user() ? config('home_site') : 'login'; } $title = $content = ''; |