is(['install', 'install/*']) && !$request->is(['update', 'update/*']) ) { return response(view('system.errors.not_installed')); } return $next($request); } }