Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Zend\Config
-
Labels:None
Description
For example:
File: application.ini
[production] ; Regular keys this.that = "abc" ; Import a config file import = "/subfolder/routes.ini"
XML version (application.xml)
<?xml version="1.0"?>
<configdata>
<production>
<this>
<that>abc</that>
</this>
<import file="/subfolder/routes.xml" />
</production>
</configdata>
For XML, simply use xincludes:
<xi:include href="./some/file.xml"/>Don't know, if it is supported by the current Zend_Config_Xml implementation, needs to be checked. For INI, it should also be called include, and not import.
<xi:include href="./some/file.xml"/>