pricecharts

track prices of consumer electronics
Log | Files | Refs | README

commit 8b84eebb543dc2fc87537711d26026172770c1fe
parent ddfeb780d26fa68d232c6b7b47da620563e5583e
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Tue, 11 Nov 2014 12:50:33 -0700

gen_index: hardcode path to templates

Diffstat:
Mgen_index.pl | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gen_index.pl b/gen_index.pl @@ -16,10 +16,9 @@ my $config = { POST_CHOMP => 1, EVAL_PERL => 1, # XXX: this needs to be changed - INCLUDE_PATH => "html", + INCLUDE_PATH => "/home/kyle/src/pricechart/html", OUTPUT_PATH => "/var/www/htdocs/pricechart" }; - my $template = Template->new($config); my $query = "select count(distinct manufacturer) from products";