version 1.71, 2002/04/25 17:25:36
|
version 1.72, 2002/04/25 17:37:23
|
Line 256 sub start_import {
|
Line 256 sub start_import {
|
# FIXME this probably needs to be smart about construction vs. |
# FIXME this probably needs to be smart about construction vs. |
# non construction space. |
# non construction space. |
my $location=&Apache::lonnet::filelocation($Apache::lonxml::pwd['-1'],$bodytext); |
my $location=&Apache::lonnet::filelocation($Apache::lonxml::pwd['-1'],$bodytext); |
&Apache::lonnet::logthis("$location,$Apache::lonxml::pwd['-1'],$bodytext"); |
|
my $file=&Apache::lonnet::getfile($location); |
my $file=&Apache::lonnet::getfile($location); |
if ($file == -1) { |
if ($file == -1) { |
&Apache::lonxml::error("<b> Unable to find <i>$bodytext as $location</i> for import</b>"); |
&Apache::lonxml::error("<b> Unable to find <i>$bodytext as $location</i> for import</b>"); |