--- trunk/lib/WebPAC/Store.pm 2005/12/05 17:48:00 218 +++ trunk/lib/WebPAC/Store.pm 2005/12/05 17:48:14 220 @@ -166,11 +166,11 @@ $log->logconfess("can't find database name") unless ($database); - my $cache_file = "$cache_path/$prefix/$database#$id"; + my $cache_file = "$cache_path/$prefix#$id"; $cache_file =~ s#//#/#go; open(my $fh, '>>', '/tmp/foo'); -print $fh "$cache_file\n"; +print $fh "LOAD $cache_path / $prefix # $id ==> $cache_file\n"; close($fh); $log->debug("using cache_file $cache_file"); @@ -230,7 +230,7 @@ my $prefix = $arg->{prefix} || ''; - my $cache_file = $self->{path} . "/$prefix/$database#" . $arg->{id}; + my $cache_file = $self->{path} . "/$prefix#" . $arg->{id}; $cache_file =~ s#//#/#go; $log->debug("creating storable cache file $cache_file");