Closed paynecodes closed 10 years ago
Hi,
Sorry that I never saw this issue! I hope you managed to resolve it, but if not, here is how you should override a single config option:
$env_config['minimee']['disable'] = 'yes';
The trick is to assume that the rest of the 'minimee' key/val array has been set; then with this syntax, you're only overriding one part of that array.
Cheers, John
:) Thanks! PHP chops just weren't there back in the day.
I am having an issue disabling and enabling Minimee between environment using EE Master Config from Focus Lab LLC.
In my
config.master.php
, I am using:In my
config.prod.php
, I am using:I used a similar approach with Minimee v1, with the old config options and format, of course. When I set, the disable config option to 'no' in
config.master.php
, everything works as expected! So, I am guessing there is a better way to override a single config option for the production environment only. Any ideas? For now, I am just enabling Minimee in all environments, so no rush. This is probably due to my lack of PHP knowledge :) Thanks!