>
> You could assign a cache instance during bootstrapping, that is, in an
> initialization method in your bootstrapping class.


Great, I added this to my bootstrap file:

public function _initCurrency()

{

// creating a cache object

$cache = Zend_Cache::factory('Core',

'File',

array('lifetime' => 120,

'automatic_serialization' => true),

array('cache_dir' => dirname(__FILE__) . '/_files/')

);

 Zend_Currency::setCache($cache);

}

Reply via email to