Changeset 18966


Ignore:
Timestamp:
2009-04-15T14:01:17+12:00 (15 years ago)
Author:
ak19
Message:

Related to the previous commit: there is no .exe file extension for the library executable on Windows. It is now .cgi for both Windows and Linux

File:
1 edited

Legend:

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

    r18965 r18966  
    349349        $library_url = $self->get_config_info("httpprefix", $optional);
    350350        $library_url = "/gsdl" unless defined $library_url;
    351         $library_url = "$library_url/cgi-bin/library.cgi";
    352 
    353         my $gsdlos = (defined $ENV{'GSDLOS'}) ? $ENV{'GSDLOS'} : $self->get_gsdl_os();
    354         if($gsdlos =~ m/windows/) { # remote GS2 server on Windows uses "library.exe"
    355         $library_url .= ".exe";
    356         }
     351        $library_url = "$library_url/cgi-bin/library.cgi"; # same extension for linux and windows
    357352    }
    358353    else { # greenstone 3 or later and gwcgi not defined
Note: See TracChangeset for help on using the changeset viewer.