Skip to content

Instantly share code, notes, and snippets.

@dannyockilson
Created April 23, 2015 13:34
Show Gist options
  • Save dannyockilson/b7d441f99bf29f50a051 to your computer and use it in GitHub Desktop.
Save dannyockilson/b7d441f99bf29f50a051 to your computer and use it in GitHub Desktop.
quick env example
<?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