summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2014-05-21 09:25:39 +0200
committerYorhel <git@yorhel.nl>2014-05-21 09:25:39 +0200
commitf31605a8dfc6087fde555535fb9a9c2b3c73fd44 (patch)
tree243e33d3c4e605ce5854b5ff484d6e8425291f44
parent9530a1281258e4a17c9f21a75a2b1a8be4a6277d (diff)
Added a config_example.pl
-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' ],
+#};