version 1.14.2.2, 2021/01/04 03:57:04
|
version 1.16, 2018/12/22 21:04:56
|
Line 92 sub check_ipbased_access {
|
Line 92 sub check_ipbased_access {
|
my ($page,$ip) = @_; |
my ($page,$ip) = @_; |
my $allowed; |
my $allowed; |
if (!defined($ip)) { |
if (!defined($ip)) { |
$ip = &Apache::lonnet::get_requestor_ip(); |
$ip = $ENV{'REMOTE_ADDR'}; |
} |
} |
if ($ip eq '127.0.0.1') { |
if ($ip eq '127.0.0.1') { |
$allowed = 1; |
$allowed = 1; |
Line 383 sub serverstatus_titles {
|
Line 383 sub serverstatus_titles {
|
'checksums' => 'LON-CAPA Module Checking', |
'checksums' => 'LON-CAPA Module Checking', |
'diskusage' => 'Course/Community Disk Usage', |
'diskusage' => 'Course/Community Disk Usage', |
'clusterstatus' => 'Domain status', |
'clusterstatus' => 'Domain status', |
|
'certstatus' => 'LON-CAPA SSL Certificates Status', |
'metadata_keywords' => 'Display Metadata Keywords', |
'metadata_keywords' => 'Display Metadata Keywords', |
'metadata_harvest' => 'Harvest Metadata Searches', |
'metadata_harvest' => 'Harvest Metadata Searches', |
'takeoffline' => 'Offline - replace Log-in page', |
'takeoffline' => 'Offline - replace Log-in page', |