From 05d101e58b400b1a52adcc86515b5442b85cd2f5 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Wed, 24 Apr 2002 14:24:43 +0000 Subject: Bug 138588 - change to use new template structure. Patch by gerv, r=myk, afranke. --- index.cgi | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'index.cgi') 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()); -- cgit v1.2.3-24-g4f1b