version 1.5, 2001/12/11 03:37:11
|
version 1.7, 2002/03/21 14:33:49
|
Line 28
|
Line 28
|
# |
# |
# YEAR=2001 |
# YEAR=2001 |
# 8/7,8/8,10/14,10/15,12/10 Scott Harrison |
# 8/7,8/8,10/14,10/15,12/10 Scott Harrison |
|
# YEAR=2002 |
|
# 1/17 Scott Harrison |
# |
# |
### |
### |
|
|
Line 87 function finish_import() {
|
Line 89 function finish_import() {
|
opener.editmode=0; |
opener.editmode=0; |
opener.notclear=0; |
opener.notclear=0; |
opener.linkmode=0; |
opener.linkmode=0; |
opener.infoclear(); |
|
opener.draw(); |
opener.draw(); |
self.close(); |
self.close(); |
} |
} |
Line 134 END
|
Line 135 END
|
$diropendb = |
$diropendb = |
"/home/httpd/perl/tmp/$domain\_$ENV{'user.name'}_indexer.db"; |
"/home/httpd/perl/tmp/$domain\_$ENV{'user.name'}_indexer.db"; |
} |
} |
|
else { # choose last accessed |
|
my $dsearch; my $dindex; |
|
my $dsearcht; my $dindext; |
|
$dsearch = |
|
"/home/httpd/perl/tmp/$domain\_$ENV{'user.name'}_searchcat.db"; |
|
if (-e $dsearch) { |
|
$dsearcht=(stat($dsearch))[9]; |
|
} |
|
$dindex = |
|
"/home/httpd/perl/tmp/$domain\_$ENV{'user.name'}_indexer.db"; |
|
if (-e $dindex) { |
|
$dindext=(stat($dindex))[9]; |
|
} |
|
if (!$dsearcht and !$dindext) { |
|
$diropendb=''; |
|
} |
|
elsif ($dsearcht>$dindext) { |
|
$diropendb=$dsearch; |
|
} |
|
else { |
|
$diropendb=$dindex; |
|
} |
|
} |
if (tie(%hash,'GDBM_File',$diropendb,&GDBM_WRCREAT,0640)) { |
if (tie(%hash,'GDBM_File',$diropendb,&GDBM_WRCREAT,0640)) { |
my $acts = $ENV{'form.acts'}; |
my $acts = $ENV{'form.acts'}; |
my @Acts = split(/b/,$acts); |
my @Acts = split(/b/,$acts); |