Is it possible to use "extends" in an array? I need to merge X config files to
one config.
I currently convert them to an array to merge them, but then the "extends" will
be lost.
----- this two config files -------------------------
<zend-config>
<foo>
<bar>5</bar>
</foo>
</zend-config>
<zend-config>
<production>...<production>
<staging extends="production">...</staging>
</zend-config>
------ should be merged to --------------------------
<zend-config>
<foo>
<bar>5</bar>
</foo>
<production>...<production>
<staging extends="production">...</staging>
</zend-config>
-----------------------------------------------------
Any clue how to merge X config files without losing "extends"? I see only a way
using DOM but it should also work with Ini configs.
-- Jan
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
http://www.gmx.net/de/go/multimessenger01