Merge pull request #4291 from pixelfed/staging

Update LandingController
This commit is contained in:
daniel 2023-04-09 20:35:11 -06:00 committed by GitHub
commit 2451593bb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}