summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/config_example.pl35
1 files changed, 35 insertions, 0 deletions
diff --git a/data/config_example.pl b/data/config_example.pl
new file mode 100644
index 00000000..68c12145
--- /dev/null
+++ b/data/config_example.pl
@@ -0,0 +1,35 @@
+package VNDB;
+
+# This file is used to override config options in global.pl.
+# You can override anything you want.
+
+%O = (
+ %O,
+ db_login => [ 'dbi:Pg:dbname=<database>', '<user>', '<password>' ],
+ logfile => $ROOT.'/err.log',
+ xml_pretty => 0,
+ log_queries => 0,
+ debug => 1,
+);
+
+%S = (
+ %S,
+ url => 'http://your.site.root/',
+ url_static => 'http://your.static.site.root/',
+ global_salt => '<some long unique string>',
+ form_salt => '<another unique string>',
+);
+
+
+# Uncomment to disable certain features of Multi
+
+#$M{modules}{API} = {};
+#$M{modules}{APIDump} = {};
+
+#$M{modules}{IRC} = {
+# nick => 'MyVNDBBot',
+# server => 'irc.synirc.net',
+# channels => [ '#vndb' ],
+# pass => '<nickserv-password>',
+# masters => [ 'yorhel!~Ayo@your.hell' ],
+#};