version 1.16, 2002/06/12 17:07:55
|
version 1.17, 2002/06/21 05:30:31
|
Line 342 my %perlvarstatic;
|
Line 342 my %perlvarstatic;
|
# update loncapa.conf until 7 is entered |
# update loncapa.conf until 7 is entered |
|
|
$flag=0; |
$flag=0; |
|
|
while (!$flag) { |
while (!$flag) { |
print(<<END); |
print(<<END); |
|
|
Line 355 This is now the current configuration of
|
Line 356 This is now the current configuration of
|
6) Server Load: $perlvar{'lonLoadLim'} |
6) Server Load: $perlvar{'lonLoadLim'} |
7) Everything is correct up above |
7) Everything is correct up above |
END |
END |
|
my $hbug=-1; |
|
my $dbug=-1; |
|
{ |
|
my $v=$perlvar{'lonHostID'}; |
|
$hbug=0; |
|
$hbug=1 if $v=~/\W/; |
|
$hbug=1 if $v=~/\_/; |
|
} |
|
{ |
|
my $v=$1; |
|
$dbug=0; |
|
$dbug=1 if $v=~/\W/; |
|
$dbug=1 if $v=~/\_/; |
|
} |
|
|
|
if ($hbug) { |
|
print "**** ERROR **** ". |
|
"Invalid lonHostID (should only be letters and/or digits)\n"; |
|
} |
|
if ($dbug) { |
|
print "**** ERROR **** ". |
|
"Invalid lonDefDomain (should only be letters and/or digits)\n"; |
|
} |
|
|
print(<<END); |
print(<<END); |
ENTER A CHOICE OF 1-6 TO CHANGE, otherwise ENTER 7: |
ENTER A CHOICE OF 1-6 TO CHANGE, otherwise ENTER 7: |
END |
END |