summaryrefslogtreecommitdiffstats
path: root/index.cgi
diff options
context:
space:
mode:
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());