ZF-12214: Zend_Cache_Backend_File - improve error messages for cache_dir
Description
When Zend_Cache_Backend_File can't use specified directory, it throws an exception with message "cache_dir must be a directory". I think it would be much better if it said, which path is not directory. (Just try to Google "cache_dir must be a directory").
Attached patch changes that behaviour - the message is now ??"Message: cache_dir "./tmp/" must be a directory"??
Comments
Posted by Rob Allen (rob) on 2012-05-31T19:02:09.000+0000
Fixed in SVN r24844.