X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=root%2Flib%2Fconfig%2Fmain.tt2;h=cf19595843bc473eb968d4d3b4a1ab419cb2bebd;hb=1d5acf5ba24af54ebce139cddd4aa720847357f5;hp=fe70a5e7ab877084eb97e00b90e55ec8e7c8ac54;hpb=3fc40135d773a95ede229e71efb48e07fdf3c418;p=ndwebbie.git diff --git a/root/lib/config/main.tt2 b/root/lib/config/main.tt2 index fe70a5e..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,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'; - -%]