diff options
author | justdave%syndicomm.com <> | 2003-08-25 04:46:25 +0200 |
---|---|---|
committer | justdave%syndicomm.com <> | 2003-08-25 04:46:25 +0200 |
commit | 36b4d0d3fb9d34dac8c604eea202590000298195 (patch) | |
tree | 6203a76815b26f22aeb0e5311b5f6bcaa88bd47a /page.cgi | |
parent | 92509a8b4b5dc64fdc49e549fd5f308407e30ee4 (diff) | |
download | bugzilla-36b4d0d3fb9d34dac8c604eea202590000298195.tar.gz bugzilla-36b4d0d3fb9d34dac8c604eea202590000298195.tar.xz |
Bug 217103: page.cgi passes the correct pathname prefix in the correct place, so it actually works now.
r=gerv, a=justdave
Diffstat (limited to 'page.cgi')
-rwxr-xr-x | page.cgi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 { |