ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/web/cgi-bin/logo.cgi
(Generate patch)

Comparing web/cgi-bin/logo.cgi (file contents):
Revision 1.2 by tdb, Thu Mar 25 22:48:47 2004 UTC vs.
Revision 1.3 by tdb, Tue Feb 14 22:17:36 2006 UTC

# Line 19 | Line 19 | my($imagepath) = `$setbg -r -p \'$pattern\' -b echo -f
19   chomp $imagepath;
20   $imagepath =~ s/$dir/$url/;
21  
22 + # Check for IPv6
23 + if($ENV{SERVER_ADDR} =~ /:/) {
24 +        $imagepath = "http://www.i-scream.org/images/ipv6-logo.gif";
25 + }
26 +
27   print "Content-type: text/plain\n\n";
28   print $imagepath;
29  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines