version 1.5, 2005/05/25 22:31:51
|
version 1.7, 2006/05/18 14:24:06
|
Line 53 use strict;
|
Line 53 use strict;
|
use warnings FATAL=>'all'; |
use warnings FATAL=>'all'; |
no warnings 'uninitialized'; |
no warnings 'uninitialized'; |
|
|
|
use lib '/home/httpd/lib/perl/'; |
use CGI(); |
use CGI(); |
use CGI::Cookie(); |
use CGI::Cookie(); |
use Fcntl qw(:flock); |
use Fcntl qw(:flock); |
|
use LONCAPA; |
use LONCAPA::Configuration(); |
use LONCAPA::Configuration(); |
|
|
my $lonidsdir; |
my $lonidsdir; |
Line 150 sub transfer_profile_to_env {
|
Line 152 sub transfer_profile_to_env {
|
} |
} |
foreach my $envrow (@profile) { |
foreach my $envrow (@profile) { |
chomp($envrow); |
chomp($envrow); |
my ($envname,$envvalue)=split(/=/,$envrow); |
my ($envname,$envvalue)=split(/=/,$envrow,2); |
|
$envname = &unescape($envname); |
|
$envvalue = &unescape($envvalue); |
$Apache::lonnet::env{$envname} = $envvalue; |
$Apache::lonnet::env{$envname} = $envvalue; |
} |
} |
$Apache::lonnet::env{'user.environment'} = "$lonidsdir/$handle.id"; |
$Apache::lonnet::env{'user.environment'} = "$lonidsdir/$handle.id"; |
Line 160 sub transfer_profile_to_env {
|
Line 164 sub transfer_profile_to_env {
|
############################################# |
############################################# |
############################################# |
############################################# |
|
|
|
|
=pod |
=pod |
|
|
=back |
=back |