X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Flib%2Fconfig%2Fmain.tt2;h=384837d11a79cfafe697d1a6843029267ee5d4c3;hb=2c8cd1ee01b115d3c0290a2050bbb076aa6508dc;hp=fe70a5e7ab877084eb97e00b90e55ec8e7c8ac54;hpb=3fc40135d773a95ede229e71efb48e07fdf3c418;p=ndwebbie.git diff --git a/root/lib/config/main.tt2 b/root/lib/config/main.tt2 index fe70a5e..384837d 100644 --- a/root/lib/config/main.tt2 +++ b/root/lib/config/main.tt2 @@ -7,7 +7,7 @@ IF c.debug; # define a debug() macro directed to Catalyst's log - MACRO debug(message) CALL Catalyst.log.debug(message); + MACRO debug(message) CALL c.log.debug(message); END; # define a data structure to hold sitewide data @@ -16,11 +16,9 @@ copyright => '2008 harv', }; + USE DBI ( dbh = dbh); + # load up any other configuration items PROCESS config/url.tt2; - # set defaults for variables, etc. - DEFAULT - message = 'There is no message'; - -%]