mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
f2f3d56e36
git-svn-id: https://svn.cakephp.org/repo/trunk/cake@239 3807eeeb-6ff5-0310-8944-8be069107fe0
45 lines
No EOL
1.2 KiB
Text
45 lines
No EOL
1.2 KiB
Text
<?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.
|
|
*
|
|
* @package cake
|
|
* @subpackage cake.config
|
|
*/
|
|
|
|
/**
|
|
* 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'
|
|
);
|
|
}
|
|
}
|
|
|
|
?> |