- Timestamp:
- 2019-04-12T19:36:30+12:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/common-src/cgi-bin/explode-server.pl
r24872 r33011 11 11 Win32::SetChildShowWindow(0) 12 12 if defined &Win32::SetChildShowWindow; 13 14 # On Ubuntu 18.04, gsdlCGI.pm can't be found as the cgi folder is not among @INC paths. 15 # Ensure gsdlCGI.pm is available in @INC by adding the cgi folder to it. 16 # For GS2: 17 my $gsdl_cgi_path = $ENV{'GSDLHOME'} . "/cgi-bin"; 18 # For GS3: 19 $gsdl_cgi_path = $ENV{'GSDL3HOME'} . "/WEB-INF" . "/cgi" if defined $ENV{'GSDL3HOME'}; 20 21 my $found_cgi_path = 0; 22 foreach my $inc_path (@INC) { 23 if($inc_path eq $gsdl_cgi_path) { 24 $found_cgi_path = 1; 25 last; 26 } 27 } 28 if(!$found_cgi_path) { 29 unshift (@INC, $gsdl_cgi_path); 30 } 13 31 } 14 32
Note:
See TracChangeset
for help on using the changeset viewer.