We're using snippetsync on a site (thanks!) and I found a need to trigger "Production Mode" automatically without modifying the add-on's config file. I ever-so-slightly altered the Extension file to check for a config.php value so we could achieve this.
Feel free to merge or ignore the change. I thought I'd send it your way regardless.
Cheers,
Erik
Added the ability to trigger "Production Mode" without altering the add-on config file.
Now I can trigger production mode in a config.php override based on my environment (automatically)
Hi Bjørn,
We're using snippetsync on a site (thanks!) and I found a need to trigger "Production Mode" automatically without modifying the add-on's config file. I ever-so-slightly altered the Extension file to check for a config.php value so we could achieve this.
Feel free to merge or ignore the change. I thought I'd send it your way regardless.
Cheers, Erik
Added the ability to trigger "Production Mode" without altering the add-on config file. Now I can trigger production mode in a config.php override based on my environment (automatically)
$config['snippetssync_production_mode_override'] = TRUE;
Bumped version up to 1.0.2