X-Git-Url: http://git.i-scream.org/?a=blobdiff_plain;f=cgi-bin%2Flogo.cgi;h=69aaf8dc4a08d0cf62fe7a6123472b1cc44b24ad;hb=46303324caf9bfb4933a93afe12150795ba8f951;hp=de5779528c3e95d43c48afafdc43c2cbbf3efc5b;hpb=e665caa273f90b869912f2daf746fa31d91613f7;p=www.i-scream.org.git diff --git a/cgi-bin/logo.cgi b/cgi-bin/logo.cgi index de57795..69aaf8d 100755 --- a/cgi-bin/logo.cgi +++ b/cgi-bin/logo.cgi @@ -9,7 +9,7 @@ my($dir) = "/web/i-scream/htdocs/logos"; my($pattern) = "\\.jpg\$"; # URL to images - must match $dir -my($url) = "http://www.i-scream.org/logos"; +my($url) = "//www.i-scream.org/logos"; # Where the setbg command is my($setbg) = "/web/i-scream/bin/setbg.pl"; @@ -21,7 +21,7 @@ $imagepath =~ s/$dir/$url/; # Check for IPv6 if($ENV{SERVER_ADDR} =~ /:/) { - $imagepath = "http://www.i-scream.org/images/ipv6-logo.gif"; + $imagepath = "//www.i-scream.org/images/ipv6-logo.gif"; } print "Content-type: text/plain\n\n";