Changeset 24872 for main/trunk/greenstone2/cgi-bin
- Timestamp:
- 2011-12-09T16:25:34+13:00 (12 years ago)
- Location:
- main/trunk/greenstone2/cgi-bin
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/cgi-bin/build-server.pl
r24074 r24872 23 23 if ($iis6_mode) 24 24 { 25 # Change into cgi-bin directory25 # Change into cgi-bin\<OS> directory 26 26 chdir("cgi-bin"); 27 if(defined $ENV{'GSDLARCH'}) { 28 chdir($ENV{'GSDLOS'}.$ENV{'GSDLARCH'}); 29 } else { 30 chdir($ENV{'GSDLOS'}); 31 } 27 32 } 28 33 -
main/trunk/greenstone2/cgi-bin/experimental-ocr-server.pl
r23765 r24872 26 26 if ($iis6_mode) 27 27 { 28 # Change into cgi-bin directory28 # Change into cgi-bin\<OS> directory 29 29 chdir("cgi-bin"); 30 if(defined $ENV{'GSDLARCH'}) { 31 chdir($ENV{'GSDLOS'}.$ENV{'GSDLARCH'}); 32 } else { 33 chdir($ENV{'GSDLOS'}); 34 } 30 35 } 31 36 -
main/trunk/greenstone2/cgi-bin/explode-server.pl
r23481 r24872 22 22 if ($iis6_mode) 23 23 { 24 # Change into cgi-bin directory24 # Change into cgi-bin\<OS> directory 25 25 chdir("cgi-bin"); 26 if(defined $ENV{'GSDLARCH'}) { 27 chdir($ENV{'GSDLOS'}.$ENV{'GSDLARCH'}); 28 } else { 29 chdir($ENV{'GSDLOS'}); 30 } 26 31 } 27 32 -
main/trunk/greenstone2/cgi-bin/gliserver.pl
r24292 r24872 25 25 if ($iis6_mode) 26 26 { 27 # Change into cgi-bin directory - need to ensure it exists, since gliserver deals with both GS2 and GS327 # Change into cgi-bin\<OS> directory - need to ensure it exists, since gliserver deals with both GS2 and GS3 28 28 if(-e "cgi-bin" && -d "cgi-bin") { # GS2 29 29 chdir("cgi-bin"); 30 if(defined $ENV{'GSDLARCH'}) { 31 chdir($ENV{'GSDLOS'}.$ENV{'GSDLARCH'}); 32 } else { 33 chdir($ENV{'GSDLOS'}); 34 } 30 35 } else { # iis6_mode is not applicable for Greenstone 3 31 36 $iis6_mode = 0; -
main/trunk/greenstone2/cgi-bin/gsdlCGI.pm
r23796 r24872 495 495 $self->{'library_url_suffix'} = $library_url; 496 496 497 unshift(@INC, "$ENV{'GSDLHOME'}/cgi-bin"); # This is OK on Windows 497 my $cgibin = "cgi-bin/$ENV{'GSDLOS'}"; 498 $cgibin = $cgibin.$ENV{'GSDLARCH'} if defined $ENV{'GSDLARCH'}; 499 500 unshift(@INC, "$ENV{'GSDLHOME'}/$cgibin"); # This is OK on Windows 498 501 unshift(@INC, "$ENV{'GSDLHOME'}/perllib"); 499 502 unshift(@INC, "$ENV{'GSDLHOME'}/perllib/cpan"); -
main/trunk/greenstone2/cgi-bin/image-server.pl
r19293 r24872 14 14 if ($iis6_mode) 15 15 { 16 # Change into cgi-bin directory16 # Change into cgi-bin\<OS> directory 17 17 chdir("cgi-bin"); 18 if(defined $ENV{'GSDLARCH'}) { 19 chdir($ENV{'GSDLOS'}.$ENV{'GSDLARCH'}); 20 } else { 21 chdir($ENV{'GSDLOS'}); 22 } 18 23 } 19 24 -
main/trunk/greenstone2/cgi-bin/index-server.pl
r23475 r24872 22 22 if ($iis6_mode) 23 23 { 24 # Change into cgi-bin directory24 # Change into cgi-bin\<OS> directory 25 25 chdir("cgi-bin"); 26 if(defined $ENV{'GSDLARCH'}) { 27 chdir($ENV{'GSDLOS'}.$ENV{'GSDLARCH'}); 28 } else { 29 chdir($ENV{'GSDLOS'}); 30 } 26 31 } 27 32 -
main/trunk/greenstone2/cgi-bin/metadata-server.pl
r23467 r24872 23 23 if ($iis6_mode) 24 24 { 25 # Change into cgi-bin directory25 # Change into cgi-bin\<OS> directory 26 26 chdir("cgi-bin"); 27 if(defined $ENV{'GSDLARCH'}) { 28 chdir($ENV{'GSDLOS'}.$ENV{'GSDLARCH'}); 29 } else { 30 chdir($ENV{'GSDLOS'}); 31 } 27 32 } 28 33
Note:
See TracChangeset
for help on using the changeset viewer.