diff options
author | Jimit Modi <jimitm@peopleinteractive.in> | 2014-10-29 15:14:54 +0530 |
---|---|---|
committer | Jimit Modi <jimitm@peopleinteractive.in> | 2014-10-29 15:14:54 +0530 |
commit | 2025d92ef8c21cede595d1603730d4dc8dabd9ac (patch) | |
tree | dce708e0598a5acd76fa9729abb3e9f48358cc8b | |
parent | 726615d084c9a5854f0c18116bdc4835f2516c30 (diff) | |
download | dbdiff-2025d92ef8c21cede595d1603730d4dc8dabd9ac.zip dbdiff-2025d92ef8c21cede595d1603730d4dc8dabd9ac.tar.gz dbdiff-2025d92ef8c21cede595d1603730d4dc8dabd9ac.tar.bz2 |
add gitignore and dist file for config.php
-rw-r--r-- | .gitignore | 9 | ||||
-rw-r--r-- | config.php.dist | 28 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..401c72a --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +config.php +nbproject* +.buildpath +.project +.settings +.settings/ +/*.bak +/*~ +mailoutput* diff --git a/config.php.dist b/config.php.dist new file mode 100644 index 0000000..d5ff315 --- /dev/null +++ b/config.php.dist @@ -0,0 +1,28 @@ +<?php + +/** + * This file should contain the configuration of databases. + * + * $dbs_config is an array of database configurations. Each element of the + * array should provide details for a database which will be selectable from + * a list. + * + * This is arguably more secure and convenient than submitting database + * details with an HTML form (and sending them over an unsecured channel). + * + * Refer to the 'Demo Configuration' below for reference. + */ + +$dbs_config = array( + // array( + // 'name' => 'Demo Configuration', + // 'config' => array( + // 'host' => 'localhost', + // 'user' => 'db_user', + // 'password' => 'db_password', + // 'name' => 'db_name' + // ) + // ), +); + +?>
\ No newline at end of file |