Added database.php config to help with auto deploys
This commit is contained in:
parent
68900c347a
commit
b3cae84929
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -9,6 +9,5 @@ app/nbproject/*
|
||||||
app/processed_vaultmsgs/*
|
app/processed_vaultmsgs/*
|
||||||
app/vaultmsgs/*
|
app/vaultmsgs/*
|
||||||
app/cake_eclipse_helper.php
|
app/cake_eclipse_helper.php
|
||||||
app/config/*
|
|
||||||
app/webroot/pdf/*
|
app/webroot/pdf/*
|
||||||
app/webroot/attachments_files/*
|
app/webroot/attachments_files/*
|
||||||
|
|
|
||||||
27
app/config/database.php
Normal file
27
app/config/database.php
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
//CakePHP is pretty awful. I was so foolish.
|
||||||
|
|
||||||
|
class DATABASE_CONFIG {
|
||||||
|
|
||||||
|
var $default = array(
|
||||||
|
'driver' => 'mysql',
|
||||||
|
'persistent' => false,
|
||||||
|
'host' => 'localhost',
|
||||||
|
'login' => 'root',
|
||||||
|
'password' => '',
|
||||||
|
'database' => 'cmc',
|
||||||
|
'prefix' => '',
|
||||||
|
);
|
||||||
|
|
||||||
|
var $test = array(
|
||||||
|
'driver' => 'mysql',
|
||||||
|
'persistent' => false,
|
||||||
|
'host' => 'localhost',
|
||||||
|
'login' => 'user',
|
||||||
|
'password' => 'password',
|
||||||
|
'database' => 'test_database_name',
|
||||||
|
'prefix' => '',
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Reference in a new issue