ZF-2082: Zend_Cache_Backend_File's "save" method returns if cache_dir doesn't exist or cannot be written
Description
Zend_Cache_Backend_File logs an error when the target cache directory doesn't exist or cannot be written, but still continues execution, where it tries to "fopen", and maybe "mkdir" and "chmod".
Correct me if I'm wrong, but if the target directory cannot be accessed, this function can savely immediately "return false"!?
Comments
Posted by Deniz Adrian (deniz.adrian) on 2007-10-17T06:36:36.000+0000
can we pre-format here? ;-)
Posted by Deniz Adrian (deniz.adrian) on 2007-10-17T06:40:46.000+0000
attaching a diff
Posted by Fabien MARTY (fab) on 2007-10-24T13:30:13.000+0000
fixed with a refactoring