]> ruin.nu Git - ndwebbie.git/blobdiff - root/lib/config/main.tt2
Converted the graphs
[ndwebbie.git] / root / lib / config / main.tt2
index fe70a5e7ab877084eb97e00b90e55ec8e7c8ac54..5b30aa452386a478c37b593d1e0e514e80cc5d56 100644 (file)
@@ -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,6 +16,8 @@
      copyright => '2008 harv',
    };
 
+   USE DBI ( dbh = dbh);
+
    # load up any other configuration items 
    PROCESS config/url.tt2;