Patch by Michael Kincaid <michael@luidia.com>
r=justdave, a=justdave
# then we are accessing the home page. %]
[% script_name = cgi.url(Relative => 1) %]
+[% IF !script_name %]
+ [% script_name = "index.cgi" %]
+[% END %]
[%# If SSL is in use, use 'sslbase', else use 'urlbase'. %]
[% IF Param("sslbase") != "" && Param("ssl") != "never" %]
# target: string. URL to go to after login.
#%]
+[% IF !target %]
+ [% target = "index.cgi" %]
+[% END %]
+
[% PROCESS global/variables.none.tmpl %]
[% PROCESS global/header.html.tmpl