From db2da84bece153fdcdbe4128a4fcccac4b7babd8 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Sun, 7 May 2023 05:25:38 -0600 Subject: [PATCH] Update LandingController, fix config_cache api check --- app/Http/Controllers/LandingController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/LandingController.php b/app/Http/Controllers/LandingController.php index ad1b5104..5f9f0bba 100644 --- a/app/Http/Controllers/LandingController.php +++ b/app/Http/Controllers/LandingController.php @@ -33,7 +33,7 @@ class LandingController extends Controller public function getDirectoryApi(Request $request) { - abort_if(config('instance.landing.show_directory') == false, 404); + abort_if(config_cache('instance.landing.show_directory') == false, 404); return DirectoryProfile::collection( Profile::whereNull('domain')