diff --git a/app/Http/Controllers/LandingController.php b/app/Http/Controllers/LandingController.php index c125a3c8..1472a78e 100644 --- a/app/Http/Controllers/LandingController.php +++ b/app/Http/Controllers/LandingController.php @@ -15,7 +15,7 @@ class LandingController extends Controller return redirect('/'); } - abort_if(config_cache('landing.show_directory') != 1, 404); + abort_if(config('instance.landing.show_directory') == false, 404); return view('site.index'); }