|
Revision 1, 0.8 kB
(checked in by Winner, 5 years ago)
|
|
Initial import
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | |
|---|
| 3 | $config = array( |
|---|
| 4 | |
|---|
| 5 | 'db' => array( |
|---|
| 6 | 'server' => "server.example.org", |
|---|
| 7 | 'username' => "youruser", |
|---|
| 8 | 'password' => "yourpassword", |
|---|
| 9 | 'database' => "yourdatabase" |
|---|
| 10 | ), |
|---|
| 11 | |
|---|
| 12 | 'site' => array( |
|---|
| 13 | 'domain' => 'server.example.org', |
|---|
| 14 | 'url' => 'http://server.example.org/' |
|---|
| 15 | ), |
|---|
| 16 | |
|---|
| 17 | 'cookies' => array( |
|---|
| 18 | 'expire' => (60 * 60 * 24 * 30) |
|---|
| 19 | ), |
|---|
| 20 | |
|---|
| 21 | 'message' => array( |
|---|
| 22 | 'delay' => 5 |
|---|
| 23 | ), |
|---|
| 24 | |
|---|
| 25 | 'language' => array( |
|---|
| 26 | 'default' => 'greek' |
|---|
| 27 | ), |
|---|
| 28 | |
|---|
| 29 | 'smarty' => array( |
|---|
| 30 | 'class' => '/usr/share/php/smarty/libs/Smarty.class.php' |
|---|
| 31 | ), |
|---|
| 32 | |
|---|
| 33 | 'constructor' => array( |
|---|
| 34 | 'max_rows' => 50 |
|---|
| 35 | ), |
|---|
| 36 | |
|---|
| 37 | 'dns' => array( |
|---|
| 38 | 'root_zone' => 'domain', |
|---|
| 39 | 'ns_zone' => 'ns.domain', |
|---|
| 40 | 'reverse_zone' => 'in-addr.arpa' |
|---|
| 41 | ), |
|---|
| 42 | |
|---|
| 43 | 'folders' => array( |
|---|
| 44 | 'photos' => $root_path.'files/photos/' |
|---|
| 45 | ), |
|---|
| 46 | |
|---|
| 47 | 'mail' => array( |
|---|
| 48 | 'from' => 'hostmaster@wind.cube.gr', |
|---|
| 49 | 'from_name' => 'WiND Hostmaster' |
|---|
| 50 | ) |
|---|
| 51 | ); |
|---|
| 52 | |
|---|
| 53 | ?> |
|---|