diff options
-rw-r--r-- | perllib/Page.pm | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/perllib/Page.pm b/perllib/Page.pm index a7a4349ac..4040a1104 100644 --- a/perllib/Page.pm +++ b/perllib/Page.pm @@ -293,6 +293,8 @@ sub _tt2_template_include_path { push @paths, "$template_root/$q->{site}" if $q->{site}; # cobrand push @paths, "$template_root/default"; # fallback + # warn "template path: $_" for @paths; + return \@paths; } @@ -319,10 +321,6 @@ sub tt2_template_include { $params->{legacy_title} = $params->{title} . $params->{site_title}; $params->{legacy_rss} = delete $params->{rss}; - use Data::Dumper; - local $Data::Dumper::Sortkeys = 1; - warn Dumper($params); - my $html = ''; $tt2->process( $template, $params, \$html ); |