Browse Source

Update LandingController

Daniel Supernault 2 years ago
parent
commit
385c166944
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/LandingController.php

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