Skip to content

Instantly share code, notes, and snippets.

@zackkitzmiller
Created August 10, 2013 16:05
Show Gist options
  • Save zackkitzmiller/6200999 to your computer and use it in GitHub Desktop.
Save zackkitzmiller/6200999 to your computer and use it in GitHub Desktop.
<?php
$env = $app->detectEnvironment(function() {
return getenv('[APPNAME]_ENV') ?: 'development';
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment