Changeset 18966

Show
Ignore:
Timestamp:
15.04.2009 14:01:17 (10 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

Files:
1 modified

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