summaryrefslogtreecommitdiffstats
path: root/config.php.dist
diff options
context:
space:
mode:
authorJoe Freeman <joe.freeman@bitroot.com>2014-10-29 13:30:31 +0100
committerJoe Freeman <joe.freeman@bitroot.com>2014-10-29 13:30:31 +0100
commitb39bea618380dbe74b6516d189f92206a9789451 (patch)
treec6e6f04e21502aee1c937ddf415cd9d28fe37e26 /config.php.dist
parent14d6a4960ae34905a7a952480e735fc103777a25 (diff)
parentc8b9a477f12ccdc1cd757f8affc8453a3d4c7487 (diff)
downloaddbdiff-b39bea618380dbe74b6516d189f92206a9789451.zip
dbdiff-b39bea618380dbe74b6516d189f92206a9789451.tar.gz
dbdiff-b39bea618380dbe74b6516d189f92206a9789451.tar.bz2
Merge pull request #1 from jimymodi/master
Dropdown for Servers
Diffstat (limited to 'config.php.dist')
-rw-r--r--config.php.dist28
1 files changed, 28 insertions, 0 deletions
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