From b716926b9c934dd917038d40b3afa19cc2057110 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 9 Apr 2023 20:06:17 -0600 Subject: [PATCH] Update LandingController, fix configonfig variable names --- app/Http/Controllers/LandingController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/LandingController.php b/app/Http/Controllers/LandingController.php index 9d5d50d5..c125a3c8 100644 --- a/app/Http/Controllers/LandingController.php +++ b/app/Http/Controllers/LandingController.php @@ -26,14 +26,14 @@ class LandingController extends Controller return redirect('/'); } - abort_if(config_cache('landing.show_explore_feed') != 1, 404); + abort_if(config('instance.landing.show_explore') == false, 404); return view('site.index'); } public function getDirectoryApi(Request $request) { - abort_if(config_cache('landing.show_directory') != 1, 404); + abort_if(config('instance.landing.show_directory') == false, 404); return DirectoryProfile::collection( Profile::whereNull('domain')