2005-07-04 01:07:14 +00:00
|
|
|
<?php
|
2005-06-05 19:42:54 +00:00
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
// + $Id$
|
|
|
|
// +------------------------------------------------------------------+ //
|
2005-07-04 02:07:21 +00:00
|
|
|
// + Cake PHP : Rapid Development Framework <http://www.cakephp.org/> + //
|
2005-07-04 02:59:39 +00:00
|
|
|
// + Copyright: (c) 2005, CakePHP Authors/Developers + //
|
2005-06-05 19:42:54 +00:00
|
|
|
// +------------------------------------------------------------------+ //
|
|
|
|
// + 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.
|
|
|
|
*/
|
2005-06-23 13:59:02 +00:00
|
|
|
class DATABASE_CONFIG
|
|
|
|
{
|
|
|
|
var $default = array(
|
|
|
|
'driver' => 'mysql',
|
|
|
|
'host' => 'localhost',
|
|
|
|
'login' => 'www',
|
|
|
|
'password' => '',
|
|
|
|
'database' => 'project_name'
|
|
|
|
);
|
2005-06-05 19:42:54 +00:00
|
|
|
|
2005-06-23 13:59:02 +00:00
|
|
|
var $test = array(
|
|
|
|
'driver' => 'mysql',
|
|
|
|
'host' => 'localhost',
|
|
|
|
'login' => 'www-test',
|
|
|
|
'password' => '',
|
|
|
|
'database' => 'project_name-test'
|
|
|
|
);
|
2005-06-05 19:42:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|