0 Best Reply Awards

  • Member Since 3 Years Ago
  • 78 Lessons Completed
  • 0 Favorites

17th January, 2015

jbelcastro left a reply on How Do You Protect .env File From Public? • 3 years ago

Try changing your file name to .env.php which should make those non-reachable through the url. To use it in a different environment (let's say you're working within local) you can use .env.local.php. Also these files should be stored above the public level but I'm guessing your laravel installation is within the public level?

Edit Your Profile

Want to change your profile photo? We pull from gravatar.com.