Hi interface,
Minimee can definitely be integrated with FocusLab’s master config - it’s what I use on all of my setups.
For Minimee 1.x, you’d put something like this in your config.master.php:
$env_config['minimee_cache_path'] = '/path/to/your/cache'; $env_config['minimee_cache_url'] = 'http://website.com/cache';
And then disable it locally by placing this in your config.local.php:
$env_config['minimee_disable'] = 'y';
You can see a complete list of settings available by visiting the User Guide (http://johndwells.com/software/minimee)
If you’re trying out Minimee v2 (available on github https://github.com/johndwells/Minimee/tree/version2), the setup is slightly different, since I’m storing minimee’s config as an associated array.
So config.master.php would look like:
$env_config['minimee'] => array( 'cache_path' => '/path/to/your/cache', 'cache_url' => 'http://website.com/cache' );
And for config.local.php, be careful not to overwrite the rest of the array to disable, so:
$env_config['minimee']['disable'] = 'y';
The above is hurried and untested, but let me know if you have trouble!
Cheers,
John
|