Zend Framework

Cache example in Zend_Translate is wrong

Details

  • Type: Docs:  Problem Docs: Problem
  • Status: Resolved Resolved
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: 1.7.3
  • Fix Version/s: 1.7.5
  • Component/s: Zend_Translate
  • Labels:
    None

Description

http://framework.zend.com/manual/en/zend.translate.adapter.html#zend.translate.adapter.caching

This example shows a Zend_Cache object using Zend_Cache_Frontend_Page, but this would not work, so it should be changed to Zend_Cache_Frontend_Core like:

$cache = Zend_Cache::factory('Core',
'File',
$frontendOptions,
$backendOptions);

Activity

Hide
Thomas Weidner added a comment -

Thanks,
fixed with r13904

Show
Thomas Weidner added a comment - Thanks, fixed with r13904

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: