How can I use Environment variables to set up the encryption key in the config file for codeigniter?
I have set up a dotenv library and environment variables work everywhere else apart from the config file. I'm getting an empyty string.
$config['encryption_key'] = getenv("APP_key");