summaryrefslogtreecommitdiffstats
path: root/config.php
diff options
context:
space:
mode:
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