Seravo / wordpress

The WordPress project layout used by many of Seravo's customers, suitable also for local development with Vagrant and git deployment
https://seravo.com
GNU General Public License v3.0
102 stars 54 forks source link

Update vlucas/phpdotenv to v5.3 #155

Closed ottok closed 3 years ago

ottok commented 3 years ago

Changes listed at: https://github.com/vlucas/phpdotenv/blob/master/UPGRADING.md

Priority: low

Pending for @elguitar to take over this.

ottok commented 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

ottok commented 3 years ago

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.

ottok commented 3 years ago

Docs updated in https://github.com/Seravo/docs/commit/27076f0b3e507cfe6c9080f3083b20df98fab037