Use APP_ENV instead of KOHANA_ENV.
Merge branch 'master' of github.com:synapsestudios/cookbook-template