• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.env Settings ignored in session driver

#5
Just a comment - I have had "strange" problems with env lately - https://github.com/codeigniter4/CodeIgni...ssues/3992
I have stopped relying on the magic .env for many things and replaced with standard php getenv() in this way:

$this->default['password'] = getenv('CONFIG_RDS_PASSWORD', true);

I still set CONFIG_RDS_PASSWORD in my .env.
Reply


Messages In This Thread
RE: .env Settings ignored in session driver - by tgix - 02-23-2021, 01:49 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.