ZF-3830: Zend_Translate_Adapter_Csv ignores include_path
Description
At the moment _loadTranslationData ignores the include_path:
protected function _loadTranslationData($filename, $locale, array $options = array()) { /* ....................*/ $this->_file = @fopen($filename, 'rb'); /* ....................*/ }
May be change it to:
protected function _loadTranslationData($filename, $locale, array $options = array()) { /* ....................*/ $this->_file = @fopen($filename, 'rb', true); /* ....................*/ }
Comments
Posted by Thomas Weidner (thomas) on 2008-08-02T05:06:33.000+0000
What would be the benefit of adding the include path to the search algorithm ? I see a possible security risk with that...
Posted by Thomas Weidner (thomas) on 2008-08-27T12:55:11.000+0000
No response... closed due to security reasons.