Created
May 15, 2014 14:47
-
-
Save sayasuhendra/8b2b7986a240a53aea4d to your computer and use it in GitHub Desktop.
Laravel: set environment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $env = $app->detectEnvironment(function() | |
| { | |
| return getenv('APP_ENV') ?: 'local'; | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment