On Fri, Feb 7, 2014 at 10:56 PM, Julian Vidal <[email protected]>wrote:
> My problem is that these files are being merged and I end up with a config > array with keys for both adapters. > Yeah, that's the drawback of config merging. Better keep the whole config sub-array separate... try to use the fact, that you can have any number of config files which will get merged, so you can have templates like: - cache.rackspace.local.php.dist - cache.beanstalk.local.php.dist - cache.devel.local.php.dist Or even go with adapter-specific config, for example: - cache.apc.local.php.dist - cache.memcached.local.php.dist - ... ... and then you'd just have your scripts copy the appropriate *.dist file in place on each instance. Hope that helps. Art. -- [email protected] +48 695 600 936 http://thinkscape.pro
