version 1.1386, 2018/10/19 16:54:58
|
version 1.1387, 2018/11/01 04:33:11
|
Line 237 sub get_servercerts_info {
|
Line 237 sub get_servercerts_info {
|
} |
} |
return if ($hostname eq ''); |
return if ($hostname eq ''); |
my ($rep,$uselocal); |
my ($rep,$uselocal); |
if (grep { $_ eq $lonhost } ¤t_machine_ids()) { |
if (context eq 'install') { |
|
$uselocal = 1; |
|
} elsif (grep { $_ eq $lonhost } ¤t_machine_ids()) { |
$uselocal = 1; |
$uselocal = 1; |
} |
} |
if (($context ne 'cgi') && ($uselocal)) { |
if (($context ne 'cgi') && ($context ne 'install') && ($uselocal)) { |
my $distro = (split(/\:/,&get_server_distarch($lonhost)))[0]; |
my $distro = (split(/\:/,&get_server_distarch($lonhost)))[0]; |
if ($distro eq '') { |
if ($distro eq '') { |
$uselocal = 0; |
$uselocal = 0; |