environmentPath(), $app->environmentFile()); } catch (InvalidArgumentException $e) { // } $app->detectEnvironment(function () { return env('APP_ENV', 'production'); }); } }