Issues

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

Fixed in trunk r24100 Merged to release-1.11 r24101

Fixed in ZF2 with GH-410