mirror of
https://github.com/jimeh/zynapse.git
synced 2026-02-19 07:06:39 +00:00
Initial import of old legacy Zynapse Framework,
untouched since early 2008.
This commit is contained in:
40
config/database.php
Normal file
40
config/database.php
Normal file
@@ -0,0 +1,40 @@
|
||||
<?php
|
||||
/*
|
||||
|
||||
Database configuration
|
||||
- only mysql is supported at this time
|
||||
|
||||
*/
|
||||
|
||||
|
||||
$database_settings = array(
|
||||
|
||||
// database settings for development environment
|
||||
'development' => array(
|
||||
'host' => 'localhost',
|
||||
'database' => 'zynapse_development',
|
||||
'username' => 'devuser',
|
||||
'password' => 'devpass',
|
||||
'persistent' => true,
|
||||
'table_prefix' => '',
|
||||
),
|
||||
|
||||
// database settings for testing environment
|
||||
'test' => array(
|
||||
'use' => 'development',
|
||||
),
|
||||
|
||||
// database settings for production environment
|
||||
'production' => array(
|
||||
'host' => 'localhost',
|
||||
'database' => 'database_name',
|
||||
'username' => 'user',
|
||||
'password' => 'password',
|
||||
'persistent' => true,
|
||||
'table_prefix' => '',
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user