From 36b4d0d3fb9d34dac8c604eea202590000298195 Mon Sep 17 00:00:00 2001 From: "justdave%syndicomm.com" <> Date: Mon, 25 Aug 2003 02:46:25 +0000 Subject: Bug 217103: page.cgi passes the correct pathname prefix in the correct place, so it actually works now. r=gerv, a=justdave --- page.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'page.cgi') diff --git a/page.cgi b/page.cgi index 2b229e0b6..1f1ef768f 100755 --- a/page.cgi +++ b/page.cgi @@ -49,13 +49,13 @@ if ($::FORM{'id'}) { $::FORM{'id'} =~ s/[^\w\-\.]//g; $::FORM{'id'} =~ /(.*)\.(.*)/; - my $format = GetFormat($1, undef, $2); + my $format = GetFormat("pages/$1", undef, $2); $vars->{'form'} = \%::FORM; print $cgi->header($format->{'ctype'}); - $template->process("pages/$format->{'template'}", $vars) + $template->process("$format->{'template'}", $vars) || ThrowTemplateError($template->error()); } else { -- cgit v1.2.3-65-gdbad