-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ENVIRONMENT required. Needs fallback #2
Comments
petehalverson
changed the title
ENVIRONMENT required.
ENVIRONMENT required. Needs fallback
Dec 16, 2017
petehalverson
added a commit
to petehalverson/phpdotenv-for-codeigniter
that referenced
this issue
Dec 16, 2017
petehalverson
added a commit
to petehalverson/phpdotenv-for-codeigniter
that referenced
this issue
Dec 16, 2017
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.The text was updated successfully, but these errors were encountered: