ZF-10574: more config native management in Zend_Cache_Manager

Issue Type: Patch Created: 2010-10-18T15:04:43.000+0000 Last Updated: 2010-10-19T15:23:55.000+0000 Status: Resolved Fix version(s): - 1.10.4 (28/Apr/10)

Reporter: samuel laulhau (lalop) Assignee: Ramon Henrique Ornelas (ramon) Tags: - Zend_Cache

Related issues: Attachments:


this patch allow Zend_Cache_Manager to set frontend.customFrontendNaming and backend.customFrontendNaming directly from the Zend_Application bootstrap.


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

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.