Closed ottok closed 3 years ago
Tested with:
cat .env
OTTO=ottowashere
and
<?php echo getenv('OTTO'); ?>
in a theme file, and it did output the env and inherited it correctly from the .env
file
If we don't do that change, then none of the getenv()
calls would
work, and the whole .env idea would be kind of moot. At least to my
understanding, I could have missed something as well.
Changes listed at: https://github.com/vlucas/phpdotenv/blob/master/UPGRADING.md
Priority: low
Pending for @elguitar to take over this.