Move the environment settings into their own file.
This commit is contained in:
parent
d2acaa24c2
commit
e5fe0aff57
|
|
@ -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 @@
|
|||
|
|
||||
*/
|
||||
|
||||
$env = $app->detectEnvironment(array(
|
||||
|
||||
'local' => array('homestead'),
|
||||
|
||||
));
|
||||
require __DIR__.'/environment.php';
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue