ZF-5152: startMvc("../application/layouts") fails if an instance already exists
Description
Calling startMvc() with a string path before an instance has been created works as expected, however, calling it after an instance has been created causes the following error:
Zend_Layout_Exception: setOptions() expects either an array or a Zend_Config object in /home/jhendric/workspace/SandysWebStore/library/Zend/Layout.php on line 232
Reproduced with:
Zend_Layout::startMvc("../application/layouts"); // ok
Zend_Layout::startMvc("../application/layouts"); // fails with error
Comments
Posted by julien PAULI (doctorrock83) on 2008-12-04T07:27:59.000+0000
r13016 is the fix