I'm using dotphpenv for environment specific config.
This works perfectly for my db config. I added another 2 environment vars for
<?php return array( // Default '*' => array( ... 'devMode' => getenv('DEV_MODE'), 'allowAutoUpdates' => getenv('AUTO_UPDATE'), ... ) );
But with that set, dev mode and auto-update are still available to production.
If I set both to
false we have no problem. This is obviously a phpdotenv thing because Craft is doing what it's supposed to but if anyone can shed light I'd appreciate it.