From b3cae849294b2359efc51f726c46795cd56d2ad4 Mon Sep 17 00:00:00 2001 From: Karl Cordes Date: Sun, 31 May 2015 23:40:13 +1000 Subject: [PATCH] Added database.php config to help with auto deploys --- .gitignore | 1 - app/config/database.php | 27 +++++++++++++++++++++++++++ 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 app/config/database.php diff --git a/.gitignore b/.gitignore index 33a5ed7b..706e6f17 100755 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,5 @@ app/nbproject/* app/processed_vaultmsgs/* app/vaultmsgs/* app/cake_eclipse_helper.php -app/config/* app/webroot/pdf/* app/webroot/attachments_files/* diff --git a/app/config/database.php b/app/config/database.php new file mode 100644 index 00000000..b87a665a --- /dev/null +++ b/app/config/database.php @@ -0,0 +1,27 @@ + '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' => '', + ); +} +