version 1.15, 2014/12/11 01:50:27
|
version 1.16, 2022/10/04 20:39:58
|
Line 1268 sub read_map {
|
Line 1268 sub read_map {
|
|
|
my $contents = &Apache::lonnet::getfile($filename); |
my $contents = &Apache::lonnet::getfile($filename); |
if($contents eq -1) { |
if($contents eq -1) { |
|
$hash->{'map_type_'.$lmap_no} = 'none'; |
throw Error::Simple('<br />'.&mt('Map not loaded: The file [_1] does not exist.', |
throw Error::Simple('<br />'.&mt('Map not loaded: The file [_1] does not exist.', |
'<span class="LC_filename">'.$filename.'</span>')); |
'<span class="LC_filename">'.$filename.'</span>')); |
} |
} |