From: Ivan Kohler Date: Tue, 7 May 2013 05:20:40 +0000 (-0700) Subject: fix login css for all paths, RT#21563 X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=commitdiff_plain;h=5c898c621e1343f8c116a75ca3131eb78229e09b fix login css for all paths, RT#21563 --- diff --git a/httemplate/loginout/login.html b/httemplate/loginout/login.html index a67ea4b58..d06d0a8fc 100644 --- a/httemplate/loginout/login.html +++ b/httemplate/loginout/login.html @@ -50,8 +50,7 @@ my $error = # $cgi->param('logout') || $error = exists($error{$error}) ? $error{$error} : $error; -#my $url_string = CGI->new->url; -my $url_string = $cgi->url; +my $url_string = $r->uri; #fake a freeside path for /login so we get our .css. shrug $url_string =~ s/login$/freeside\/login/ unless $url_string =~ /freeside\//;