Changeset 31515 for main/trunk/greenstone2/perllib/util.pm
- Timestamp:
- 2017-03-14T19:30:00+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/util.pm
r31514 r31515 1244 1244 # Read in the entire contents of the file in one hit 1245 1245 if (!open (FIN, $llssite_cfg)) { 1246 print STDERR "util::get_ library_URL() failed to open $llssite_cfg ($!)\n";1246 print STDERR "util::get_full_greenstone_url_prefix() failed to open $llssite_cfg ($!)\n"; 1247 1247 return undef; 1248 1248 } … … 1284 1284 #print STDERR "@@@@@ host: $host\n"; 1285 1285 if($url =~ m/https?:\/\/$host(\/)?$/) { 1286 #if($url !~ m/http :\/\/$host:$portnumber(\/)?/ || $url =~ m/http:\/\/$host(\/)?$/) {1286 #if($url !~ m/https?:\/\/$host:$portnumber(\/)?/ || $url =~ m/https?:\/\/$host(\/)?$/) { 1287 1287 # (if the URL does not contain the portnumber, OR if the port is implicitly 80 and) 1288 1288 # If the domain with http:// prefix is completely the same as the URL, assume server.exe … … 1329 1329 close(PIN); 1330 1330 } else { 1331 print STDERR "util::get_ library_URL() failed to run $perl_command to work out library URL for $gs_mode\n";1331 print STDERR "util::get_full_greenstone_url_prefix() failed to run $perl_command to work out library URL for $gs_mode\n"; 1332 1332 } 1333 1333 }
Note:
See TracChangeset
for help on using the changeset viewer.