Created
August 17, 2012 09:23
-
-
Save notomato/3377363 to your computer and use it in GitHub Desktop.
Cache config with multiple environments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use lithium\storage\Cache; | |
Cache::config(array( | |
'default' => array( | |
'development' => array('adapter' => 'Apc'), | |
'production' => array( | |
'adapter' => 'Memcache', | |
'host' => '127.0.0.1:1121' | |
) | |
) | |
)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment