2005-06-05 19:42:54 +00:00
|
|
|
<?PHP
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
// + $Id$
|
|
|
|
// +------------------------------------------------------------------+ //
|
|
|
|
// + Cake <https://developers.nextco.com/cake/> + //
|
|
|
|
// + Copyright: (c) 2005, Cake Authors/Developers + //
|
|
|
|
// +------------------------------------------------------------------+ //
|
|
|
|
// + Licensed under The MIT License + //
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
* In this file you set up your database connection details.
|
2005-06-05 23:41:46 +00:00
|
|
|
*
|
|
|
|
* @package cake
|
|
|
|
* @subpackage cake.config
|
2005-06-05 19:42:54 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Database configuration class.
|
|
|
|
* You can specify multiple configurations for production, development and testing.
|
|
|
|
*/
|
|
|
|
class DATABASE_CONFIG {
|
|
|
|
|
|
|
|
function devel () {
|
|
|
|
return array(
|
|
|
|
'driver' => 'mysql',
|
|
|
|
'host' => 'localhost',
|
|
|
|
'login' => 'www',
|
|
|
|
'password' => '',
|
|
|
|
'database' => 'project_name'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
function test () {
|
|
|
|
return array(
|
|
|
|
'driver' => 'mysql',
|
|
|
|
'host' => 'localhost',
|
|
|
|
'login' => 'www-test',
|
|
|
|
'password' => '',
|
|
|
|
'database' => 'project_name-test'
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
?>
|