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.1 by tdb, Wed Mar 24 23:48:57 2004 UTC vs.
Revision 1.2 by tdb, Thu Mar 25 22:48:47 2004 UTC

# Line 4 | Line 4 | use strict;
4   $| = 1;
5  
6   # Directory to find images in
7 < my($dir) = "/web/i-scream/nwww/logos";
7 > my($dir) = "/web/i-scream/htdocs/logos";
8   # Pattern to match images - remember to escape
9   my($pattern) = "\\.jpg\$";
10  
11   # URL to images - must match $dir
12 < my($url) = "http://nwww.i-scream.org/logos";
12 > my($url) = "http://www.i-scream.org/logos";
13  
14   # Where the setbg command is
15 < my($setbg) = "/web/i-scream/nwww.bin/setbg.pl";
15 > my($setbg) = "/web/i-scream/bin/setbg.pl";
16  
17   # Code...
18   my($imagepath) = `$setbg -r -p \'$pattern\' -b echo -f \' \' $dir`;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines