Changeset 16971


Ignore:
Timestamp:
2008-08-22T15:28:53+12:00 (13 years ago)
Author:
ak19
Message:

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

File:
1 edited

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