2005-05-16 00:52:42 +00:00
|
|
|
<?PHP
|
2005-05-17 01:31:36 +00:00
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
// + $Id$
|
|
|
|
// +------------------------------------------------------------------+ //
|
|
|
|
// + Cake <https://developers.nextco.com/cake/> + //
|
2005-05-17 21:27:56 +00:00
|
|
|
// + Copyright: (c) 2005, Cake Authors/Developers + //
|
2005-05-17 01:31:36 +00:00
|
|
|
// +------------------------------------------------------------------+ //
|
|
|
|
// + Licensed under The MIT License + //
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
2005-05-16 00:52:42 +00:00
|
|
|
|
2005-05-17 01:31:36 +00:00
|
|
|
/**
|
2005-05-18 10:11:28 +00:00
|
|
|
* In this file you set up your database connection details.
|
|
|
|
*/
|
2005-05-17 01:31:36 +00:00
|
|
|
|
|
|
|
/**
|
2005-05-21 22:40:51 +00:00
|
|
|
* Database configuration class.
|
|
|
|
* You can specify multiple configurations for production, development and testing.
|
2005-05-18 10:11:28 +00:00
|
|
|
*/
|
2005-05-21 22:40:51 +00:00
|
|
|
class DATABASE_CONFIG {
|
2005-05-16 23:14:37 +00:00
|
|
|
|
2005-05-21 22:40:51 +00:00
|
|
|
function devel () {
|
|
|
|
return array(
|
|
|
|
'driver' => 'mysql',
|
|
|
|
'host' => 'localhost',
|
|
|
|
'login' => 'www',
|
|
|
|
'password' => '',
|
|
|
|
'database' => 'project_name'
|
|
|
|
);
|
|
|
|
}
|
2005-05-16 23:14:37 +00:00
|
|
|
|
2005-05-21 22:40:51 +00:00
|
|
|
function test () {
|
|
|
|
return array(
|
|
|
|
'driver' => 'mysql',
|
|
|
|
'host' => 'localhost',
|
|
|
|
'login' => 'www-test',
|
|
|
|
'password' => '',
|
|
|
|
'database' => 'project_name-test'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
2005-05-16 00:52:42 +00:00
|
|
|
|
2005-05-17 22:32:06 +00:00
|
|
|
?>
|