--- web/cgi-bin/download.cgi 2001/03/31 12:04:13 1.4 +++ web/cgi-bin/download.cgi 2003/02/17 00:07:49 1.9 @@ -19,7 +19,7 @@ $| = 1; #-------------------------------------------------------------- # Essential Settings #-------------------------------------------------------------- -my ($build_dir) = "/builds"; +my ($build_dir) = "/downloads"; my ($log_file) = "download_log"; my ($left) = "../left.inc" ; my ($title) = "../title.inc"; @@ -48,7 +48,7 @@ if (!defined($file_name) || $file_name eq "") { if (defined($submit) && $submit eq "Download") { open(LOGFILE, ">>$log_file"); - print LOGFILE "$date|$file_name|$your_name|$email_address|$country\n"; + print LOGFILE "$date|$ENV{'REMOTE_ADDR'}|$file_name|$your_name|$email_address|$country\n"; close(LOGFILE); print $query->redirect("$build_dir/$file_name"); } @@ -96,10 +96,11 @@ END
-