Location: PHPKode > scripts > Configuration Loader > configuration-loader/example.xml
<config>
    <!-- You can add comments as well  -->
    <rootDirectory>/home/user/projects/myProject</rootDirectory>
    <database>
        <primary>
            <host>myDbServer1</host>
            <username>user2</username>
            <password type="string">letmein</password>
            <timeout>10</timeout>
            <portNo />
        </primary>
        <secondary>
            <host>myDbServer2</host>
            <username>user2</username>
            <password></password>
            <timeout type="int">25</timeout>
            <portNo type="string" />
        </secondary>
    </database>
    <web>
        <cardTypes type="array">
            <item value="Maestro" />
            <item value="UK Visa Debit" />
            <item type="string" index="V" value="Visa" />
            <item type="int" index="N" />
            <item index="M" value="Mastercard" />
        </cardTypes>
    </web>
</config>
Return current item: Configuration Loader