Skip to content

Instantly share code, notes, and snippets.

@terryupton
Last active December 22, 2021 10:54
Show Gist options
  • Save terryupton/baa556e947896d3ac8044f744081eb93 to your computer and use it in GitHub Desktop.
Save terryupton/baa556e947896d3ac8044f744081eb93 to your computer and use it in GitHub Desktop.
Remember to check and update craft index.php and craft files on a regular basis!

Updating vlucas/phpdotenv on 22 December 2021

Wow! So I never knew this...and perhaps it's just me but thought I should put it out there....so I have upgraded to "vlucas/phpdotenv": "^5.4.0" as it seems all of my projects were still on ^2.4.0. What I never realised is that we should also be maintaining the index.php file and the craft files too. As these don't fall into the regular craft updates.

So today, I have just updated the index.php added the new bootstrap.php file and also updated the craft file too - so these all work with "vlucas/phpdotenv": "^5.4.0"

I must ensure I look out for updates on these files in the future. Perhaps everyone already knows this, but I never did until now. 😳

Here is the link to the craft repo: https://github.com/craftcms/craft

Here is my original message on Discord: https://discord.com/channels/456442477667418113/456442867163070466/923165923861475329

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment