Ignore:
Timestamp:
2011-12-09T16:25:34+13:00 (12 years ago)
Author:
ak19
Message:

First set of changes to do with migration of cgi-bin into common-src, so that upon make install, common-src\cgi-bin will be installed in cgi-bin\GSDLOS(GSDLARCH). After this commit (to do with the contents of the files), cgi-bin itself will be moved.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/cgi-bin/gliserver.pl

    r24292 r24872  
    2525if ($iis6_mode)
    2626{
    27     # Change into cgi-bin directory - need to ensure it exists, since gliserver deals with both GS2 and GS3
     27    # Change into cgi-bin\<OS> directory - need to ensure it exists, since gliserver deals with both GS2 and GS3
    2828    if(-e "cgi-bin" && -d "cgi-bin") { # GS2
    2929    chdir("cgi-bin");
     30    if(defined $ENV{'GSDLARCH'}) {
     31        chdir($ENV{'GSDLOS'}.$ENV{'GSDLARCH'});
     32    } else {
     33        chdir($ENV{'GSDLOS'});
     34    }
    3035    } else { # iis6_mode is not applicable for Greenstone 3
    3136    $iis6_mode = 0;
Note: See TracChangeset for help on using the changeset viewer.