ZF-9391: Zend_Application 'config' option does not work properly if a string (path to the file) is passed
There is currently support for 'config' option that may be either an array or a file path string. It is used to override current options. It may be very useful to use some local configurations, like having configs/application.local.ini for some specific machine related options.
If it is an array it works good but if it is a file it does not because it merges first, original options to the second (so the origin options override the local ones). Please, somebody change
$options = $this->mergeOptions($this->_loadConfig($options['config']), $options);
$options = $this->mergeOptions($options, $this->_loadConfig($options['config']));
in /Zend/Application.php line 134 (1.10.2 release)
I see some refactoring being done there, so it's probably a new issue. Probably since 1.10