version 1.111, 2001/12/13 01:34:03
|
version 1.114, 2002/01/06 01:29:53
|
Line 28
|
Line 28
|
# YEAR=2001 |
# YEAR=2001 |
# 3/8, 3/12, 3/13, 3/14, 3/15, 3/19 Scott Harrison |
# 3/8, 3/12, 3/13, 3/14, 3/15, 3/19 Scott Harrison |
# 3/20, 3/21, 3/22, 3/26, 3/27, 4/2, 8/15, 8/24, 8/25 Scott Harrison |
# 3/20, 3/21, 3/22, 3/26, 3/27, 4/2, 8/15, 8/24, 8/25 Scott Harrison |
# 10/12,10/14,10/15,10/16,11/28,11/29,12/10,12/12 Scott Harrison |
# 10/12,10/14,10/15,10/16,11/28,11/29,12/10,12/12,12/16 Scott Harrison |
# |
# |
### |
### |
|
|
Line 54 use Apache::File();
|
Line 54 use Apache::File();
|
use CGI qw(:standard); |
use CGI qw(:standard); |
use Text::Query; |
use Text::Query; |
use GDBM_File; |
use GDBM_File; |
|
use Apache::loncommon(); |
|
|
# ---------------------------------------- variables used throughout the module |
# ---------------------------------------- variables used throughout the module |
|
|
# -- information holders |
# -- information holders |
# my %language; # holds contents of language.tab |
|
# my %cprtag; # holds contents of copyright.tab |
|
# my %mimetag; # holds contents of filetypes.tab |
|
my %hostdomains; # matches host name to host domain |
my %hostdomains; # matches host name to host domain |
my %hostips; # matches host name to host ip |
my %hostips; # matches host name to host ip |
my %hitcount; # stores number of hits per host |
my %hitcount; # stores number of hits per host |
Line 97 my $advancedviewselect=<<END;
|
Line 95 my $advancedviewselect=<<END;
|
END |
END |
|
|
# ----------------------------------------------------------------------- BEGIN |
# ----------------------------------------------------------------------- BEGIN |
sub BEGIN { |
BEGIN { |
{ |
{ |
my $fh=Apache::File->new($Apache::lonnet::perlvar{'lonTabDir'}. |
my $fh=Apache::File->new($Apache::lonnet::perlvar{'lonTabDir'}. |
'/hosts.tab'); |
'/hosts.tab'); |
Line 1560 This routine is only run once after comp
|
Line 1558 This routine is only run once after comp
|
|
|
=item * |
=item * |
|
|
Initializes %language hash table. |
|
|
|
=item * |
|
|
|
Initializes %cprtag hash table (for copyright.tab). |
|
|
|
=item * |
|
|
|
Initializes %mimetag hash table (for filetypes.tab). |
|
|
|
=item * |
|
|
|
Initializes %hostdomains and hostips hash table (for hosts.tab). |
Initializes %hostdomains and hostips hash table (for hosts.tab). |
|
|
=back |
=back |