Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- protected function _initCache()
- {
- $frontendName = 'Page';
- $backendName = 'File';
- $frontendOptions = array(
- 'lifetime' => 7200,
- 'debug_header' => true
- );
- $backendOptions = array(
- 'cache_dir' => APPLICATION_PATH . '/data/cache'
- );
- $cache = Zend_Cache::factory($frontendName, $backendName, $frontendOptions, $backendOptions);
- $cache->start();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement