Update LandingController

This commit is contained in:
Daniel Supernault 2023-04-09 20:34:50 -06:00
parent 4d41d169f3
commit 385c166944
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -15,7 +15,7 @@ class LandingController extends Controller
return redirect('/'); return redirect('/');
} }
abort_if(config_cache('landing.show_directory') != 1, 404); abort_if(config('instance.landing.show_directory') == false, 404);
return view('site.index'); return view('site.index');
} }