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";
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits