Move the environment settings into their own file.
This commit is contained in:
18
bootstrap/environment.php
Normal file
18
bootstrap/environment.php
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
/*
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
| Detect The Application Environment
|
||||||
|
|--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
|
| Laravel takes a dead simple approach to your application environments
|
||||||
|
| so you can just specify a machine name for the host that matches a
|
||||||
|
| given environment, then we will automatically detect it for you.
|
||||||
|
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
$env = $app->detectEnvironment([
|
||||||
|
|
||||||
|
'local' => ['homestead'],
|
||||||
|
|
||||||
|
]);
|
||||||
@@ -24,11 +24,7 @@ $app = new Illuminate\Foundation\Application;
|
|||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$env = $app->detectEnvironment(array(
|
require __DIR__.'/environment.php';
|
||||||
|
|
||||||
'local' => array('homestead'),
|
|
||||||
|
|
||||||
));
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user