fix login css for all paths, RT#21563
authorIvan Kohler <ivan@freeside.biz>
Tue, 7 May 2013 05:20:40 +0000 (22:20 -0700)
committerIvan Kohler <ivan@freeside.biz>
Tue, 7 May 2013 05:20:40 +0000 (22:20 -0700)
httemplate/loginout/login.html

index a67ea4b..d06d0a8 100644 (file)
@@ -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\//;