Changeset 16971

Show
Ignore:
Timestamp:
22.08.2008 15:28:53 (11 years ago)
Author:
ak19
Message:

Made specifying httpprefix in gsdlsite.cfg optional, which it should be.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/cgi-bin/gsdlCGI.pm

    r16509 r16971  
    347347 
    348348    if($self->{'greenstone_version'} == 2) { 
    349         $library_url = $self->get_config_info("httpprefix"); 
     349        $library_url = $self->get_config_info("httpprefix", $optional); 
     350        $library_url = "/gsdl" unless defined $library_url; 
    350351        $library_url = "$library_url/cgi-bin/library"; 
    351352