mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
19 lines
481 B
PHP
19 lines
481 B
PHP
<?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'],
|
|
|
|
]);
|