Created
April 23, 2015 13:34
-
-
Save dannyockilson/b7d441f99bf29f50a051 to your computer and use it in GitHub Desktop.
quick env example
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 | |
// add variables to $_ENV | |
putenv("TOKEN=USER-API-TOKEN"); | |
putenv("TEAM=USER-TEAM"); | |
putenv("USERNAME=USER-NAME"); | |
// Etc.... | |
// then from your main file | |
getenv('TOKEN'); // etc | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment