phpdotenv-for-codeigniter
phpdotenv-for-codeigniter copied to clipboard
ENVIRONMENT required. Needs fallback
The ENVIRONMENT
constant you're referencing (
https://github.com/agungjk/phpdotenv-for-codeigniter/blob/master/system/dotenv/Dotenv.php#L29) may not be defined. I think Dotenv should fall back to a standard .env
if that's the case.
I should mention I'm using this with a pretty old version of CodeIgniter (v1.7.3), maybe the ENVIRONMENT constant is defined as part of newer convention.
@petehalverson sory for that, i didn't test on that version before just create a pull, i will merge this issue