[Codestriker-commits] CVS update: codestriker/lib/Codestriker/Http Response.pm
Brought to you by:
sits
From: <si...@us...> - 2008-09-02 06:44:29
|
User: sits Date: 08/09/01 23:44:28 Modified: lib/Codestriker/Http Response.pm Log: Minor tweak to get the links to the html directory working for classic URLs. Index: Response.pm =================================================================== RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/Http/Response.pm,v retrieving revision 1.50 retrieving revision 1.51 diff -u -r1.50 -r1.51 --- Response.pm 2 Sep 2008 06:36:16 -0000 1.50 +++ Response.pm 2 Sep 2008 06:44:28 -0000 1.51 @@ -231,7 +231,7 @@ } else { # Use the default CSS file. $codestriker_css = $query->url(); - if (defined $Codestriker::cgi_style && $Codestriker::cgi_style) { + if (! defined $Codestriker::cgi_style || $Codestriker::cgi_style) { $codestriker_css =~ s#/[^/]+?/codestriker\.pl#/codestrikerhtml/codestriker.css#; } else { $codestriker_css = $query->url() . "/html/codestriker.css"; |