aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgerv%gerv.net <>2002-04-24 14:24:43 +0000
committergerv%gerv.net <>2002-04-24 14:24:43 +0000
commit05d101e58b400b1a52adcc86515b5442b85cd2f5 (patch)
treeded36788873d147ce2a62bd76239e0e99974c621 /index.cgi
parentBug 138582 - convert all INCLUDEs to PROCESS. Patch by gerv, r=bbaetz, afranke. (diff)
downloadbugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.gz
bugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.tar.bz2
bugzilla-05d101e58b400b1a52adcc86515b5442b85cd2f5.zip
Bug 138588 - change to use new template structure. Patch by gerv, r=myk, afranke.
Diffstat (limited to 'index.cgi')
-rwxr-xr-xindex.cgi5
1 files changed, 2 insertions, 3 deletions
diff --git a/index.cgi b/index.cgi
index 2fe393391..05f15d288 100755
--- a/index.cgi
+++ b/index.cgi
@@ -60,6 +60,5 @@ $vars->{'subst'} = { 'userid' => $vars->{'username'} };
print "Content-Type: text/html\n\n";
# Generate and return the UI (HTML page) from the appropriate template.
-$template->process("index.tmpl", $vars)
- || DisplayError("Template process failed: " . $template->error())
- && exit;
+$template->process("index.html.tmpl", $vars)
+ || ThrowTemplateError($template->error());