From e5fe0aff573bbfea42d8b4b0ad2c71b5aa0087ee Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 23 Jun 2014 21:22:55 -0500 Subject: [PATCH] Move the environment settings into their own file. --- bootstrap/environment.php | 18 ++++++++++++++++++ bootstrap/start.php | 6 +----- 2 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 bootstrap/environment.php diff --git a/bootstrap/environment.php b/bootstrap/environment.php new file mode 100644 index 00000000..f133a3d9 --- /dev/null +++ b/bootstrap/environment.php @@ -0,0 +1,18 @@ +detectEnvironment([ + + 'local' => ['homestead'], + +]); diff --git a/bootstrap/start.php b/bootstrap/start.php index 84559be3..949f2e5f 100644 --- a/bootstrap/start.php +++ b/bootstrap/start.php @@ -24,11 +24,7 @@ | */ -$env = $app->detectEnvironment(array( - - 'local' => array('homestead'), - -)); +require __DIR__.'/environment.php'; /* |--------------------------------------------------------------------------