X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Flib%2Fconfig%2Fmain.tt2;h=cf19595843bc473eb968d4d3b4a1ab419cb2bebd;hb=82c8844f01d81e70b789cdbd455bedc4b2f94c87;hp=2e9bcfde325026d8f0c0cbc1e099985eaccfd61f;hpb=8250eb360c341a4eeaa76e5e3fc0f57cf0014a60;p=ndwebbie.git diff --git a/root/lib/config/main.tt2 b/root/lib/config/main.tt2 index 2e9bcfd..cf19595 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,13 +16,9 @@ copyright => '2008 harv', }; - USE DBI ( dbh = dbh); + # 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'; - -%]