use config
This commit is contained in:
parent
cacd910d82
commit
b83c566608
@ -17,7 +17,7 @@ class RedirectIfNotInstalled
|
||||
public function handle($request, Closure $next)
|
||||
{
|
||||
// Check application is installed or not
|
||||
if (env('APP_INSTALLED', false) == true) {
|
||||
if (config('app.installed', false) == true) {
|
||||
return $next($request);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user