PHP Classes
elePHPant
Icontem

File: Falcraft/tests/Features/test.xml

Recommend this page to a friend!
  Classes of Asher Wolfstein  >  PHP Configuration Trait  >  Falcraft/tests/Features/test.xml  >  Download  
File: Falcraft/tests/Features/test.xml
Role: Auxiliary data
Content type: text/plain
Description: test xml file
Class: PHP Configuration Trait
Load and save class configuration using a trait
Author: By
Last change:
Date: 4 years ago
Size: 691 bytes
 

 

Contents

Class file image Download
<?xml version="1.0"?>
<configdata>
    <production>
        <webhost>www.example.com</webhost>
        <database>
            <adapter>pdo_mysql</adapter>
            <params>
                <host>db.example.com</host>
                <username>dbuser</username>
                <password>secret</password>
                <dbname>dbname</dbname>
            </params>
        </database>
    </production>
    <staging extends="production">
        <database>
            <params>
                <host>dev.example.com</host>
                <username>devuser</username>
                <password>devsecret</password>
            </params>
        </database>
    </staging>
</configdata>