Changeset 31989

Show
Ignore:
Timestamp:
25.09.2017 18:21:19 (2 years ago)
Author:
ak19
Message:

Another bugfix with remote GS noticed with GS2: search results didn't return the actual document that contained the search term because remote GS env didn't have the PERL_PERTURB_KEYS env var set to off.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/cgi-bin/gsdlCGI.pm

    r31811 r31989  
    683683    $self->setup_openoffice($optional); 
    684684    } 
     685 
     686    # If perl_perturb_keys isn't set, then search results with remote GS 
     687    # return different documents from the ones that should be returned 
     688    $ENV{'PERL_PERTURB_KEYS'}=0; 
     689    $ENV{'WGETRC'}=&FileUtils::filenameConcatenate($gsdlhome,"bin",$gsdlos,"wgetrc"); 
    685690} 
    686691