--- loncom/interface/lonindexer.pm 2010/08/13 13:32:36 1.208 +++ loncom/interface/lonindexer.pm 2011/07/04 09:24:58 1.209 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Directory Indexer # -# $Id: lonindexer.pm,v 1.208 2010/08/13 13:32:36 wenzelju Exp $ +# $Id: lonindexer.pm,v 1.209 2011/07/04 09:24:58 foxr Exp $ # # Copyright Michigan State University Board of Trustees # @@ -120,8 +120,8 @@ sub handler { my $colspan=''; $extrafield=''; - my $diropendb = - "/home/httpd/perl/tmp/$env{'user.domain'}_$env{'user.name'}_sel_res.db"; + my $diropendb = LONCAPA::tempdir() . + "$env{'user.domain'}_$env{'user.name'}_sel_res.db"; %hash = (); { my %dbfile;