Created
October 8, 2014 17:24
-
-
Save alnutile/6df5e7bc620480af172c to your computer and use it in GitHub Desktop.
Setup boot environment file. Should be ignored in git as well.
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
| <?php | |
| return 'local'; |
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
| <?php | |
| /** | |
| * Found in | |
| * /bootstrap/environment.php | |
| */ | |
| $env = $app->detectEnvironment(function() | |
| { | |
| if(file_exists(__DIR__ . '/../.env_boot.php')) | |
| { | |
| return require_once( __DIR__ . '/../.env_boot.php'); | |
| } | |
| return 'production'; | |
| } | |
| ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment