summaryrefslogtreecommitdiffstats
path: root/config.php
diff options
context:
space:
mode:
authorJoe Freeman <joe.freeman@bitroot.com>2014-10-29 10:23:44 +0100
committerJoe Freeman <joe.freeman@bitroot.com>2014-10-29 10:23:44 +0100
commit14d6a4960ae34905a7a952480e735fc103777a25 (patch)
treedf74cdacd3c1119e31d67350db69d102695f2706 /config.php
parentcb3637ae1301aa7b364b886ddf6e9ee3e54d1b69 (diff)
downloaddbdiff-14d6a4960ae34905a7a952480e735fc103777a25.zip
dbdiff-14d6a4960ae34905a7a952480e735fc103777a25.tar.gz
dbdiff-14d6a4960ae34905a7a952480e735fc103777a25.tar.bz2
Initial import.
Diffstat (limited to 'config.php')
-rw-r--r--config.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/config.php b/config.php
new file mode 100644
index 0000000..d5ff315
--- /dev/null
+++ b/config.php
@@ -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