User: sits
Date: 07/05/07 16:52:45
Modified: lib/Codestriker/Http Response.pm
Log:
Improve the code for determining where the codestriker css file is.
Index: Response.pm
===================================================================
RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/Http/Response.pm,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -r1.39 -r1.40
--- Response.pm 17 Jul 2006 01:21:35 -0000 1.39
+++ Response.pm 7 May 2007 23:52:45 -0000 1.40
@@ -221,7 +221,7 @@
$codestriker_css = $Codestriker::codestriker_css;
} else {
$codestriker_css = $query->url();
- $codestriker_css =~
s/codestriker\/codestriker\.pl/codestrikerhtml\/codestriker\.css/;
+ $codestriker_css =~
s/\/[\w\-]+\/codestriker\.pl/\/codestrikerhtml\/codestriker\.css/;
}
my $overlib_js = $codestriker_css;
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Codestriker-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/codestriker-commits