Changeset 31989


Ignore:
Timestamp:
2017-09-25T18:21:19+13:00 (7 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.

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.