ZF-11425: Zend_Application should support YAML files with .yml file extension
Description
Zend_Application::_loadConfig detects content type based on extension. It looks for .yaml, but needs to also look for .yml, a common YAML extension.
current:
case 'yaml': $config = new Zend_Config_Yaml($file, $environment); break;
fix:
case 'yaml': case 'yml': $config = new Zend_Config_Yaml($file, $environment); break;
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2011-06-01T02:21:27.000+0000
Fixed in trunk r24100 Merged to release-1.11 r24101
Posted by Ramon Henrique Ornelas (ramon) on 2011-09-09T21:46:54.000+0000
Fixed in ZF2 with GH-410