summaryrefslogtreecommitdiff
path: root/data/global.pl
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2008-10-26 19:37:21 +0100
committerYorhel <git@yorhel.nl>2008-10-26 19:37:21 +0100
commitbd88afd49f1e258fa2664079930f9e1607561ca1 (patch)
treed6189997ca4eb18b2b12d682c24ebf22d8ea281d /data/global.pl
parentf842d36dc3275fe72ebd0f182942dfe8c098c4d2 (diff)
Added YAWF script + configuration handling + small homepage handler
A demonstration of how easy it is to use YAWF. :-)
Diffstat (limited to 'data/global.pl')
-rw-r--r--data/global.pl23
1 files changed, 23 insertions, 0 deletions
diff --git a/data/global.pl b/data/global.pl
new file mode 100644
index 00000000..f2c12909
--- /dev/null
+++ b/data/global.pl
@@ -0,0 +1,23 @@
+
+package VNDB;
+
+our(%O, %S, $ROOT);
+
+
+# options for YAWF
+our %O = (
+ db_login => [ 'dbi:Pg:dbname=vndb', 'vndb', 'passwd' ],
+ debug => 1,
+ logfile => $ROOT.'/data/log/vndb.log',
+);
+
+
+# VNDB-specific options (object_data)
+our %S = (
+ version => 'beta',
+);
+
+
+# allow the settings to be overwritten in config.pl
+require $ROOT.'/data/config.pl' if -f $ROOT.'/data/config.pl';
+