ZF-10574: more config native management in Zend_Cache_Manager
Description
this patch allow Zend_Cache_Manager to set frontend.customFrontendNaming and backend.customFrontendNaming directly from the Zend_Application bootstrap.
this patch allow Zend_Cache_Manager to set frontend.customFrontendNaming and backend.customFrontendNaming directly from the Zend_Application bootstrap.
Comments
Posted by samuel laulhau (lalop) on 2010-10-18T15:08:42.000+0000
I don't know how to attach the patch so I put it here, sorry :
--- library/Zend/Cache/Manager.php (révision 23156) +++ library/Zend/Cache/Manager.php (copie de travail) @@ -292,7 +292,13 @@ foreach ($options['backend']['options'] as $key=>$value) { $current['backend']['options'][$key] = $value; } + } + if (isset($options['backend']['customFrontendNaming'])) { + $current['backend']['customFrontendNaming'] = $options['backend']['customFrontendNaming']; } + if(isset($options['frontend']['customFrontendNaming'])) { + $current['frontend']['customFrontendNaming'] = $options['frontend']['customFrontendNaming']; + } return $current; } }
Posted by Ramon Henrique Ornelas (ramon) on 2010-10-18T16:33:55.000+0000
This improvement already was applied in ZF-1.10.4 in the issue ZF-9737 in 21977