version 1.160.6.84.2.1, 2017/06/22 02:11:25
|
version 1.160.6.84.2.2, 2017/06/23 14:59:27
|
Line 6208 sub print_scantronformat {
|
Line 6208 sub print_scantronformat {
|
if (ref($settings) eq 'HASH') { |
if (ref($settings) eq 'HASH') { |
if ($settings->{'scantronformat'} eq "/res/$dom/$confname/scantron/custom.tab") { |
if ($settings->{'scantronformat'} eq "/res/$dom/$confname/scantron/custom.tab") { |
my @info = &Apache::lonnet::stat_file($settings->{'scantronformat'}); |
my @info = &Apache::lonnet::stat_file($settings->{'scantronformat'}); |
if (0 && ((!@info) || ($info[0] eq 'no_such_dir'))) { |
if ((!@info) || ($info[0] eq 'no_such_dir')) { |
$scantronurl = ''; |
$scantronurl = ''; |
} else { |
} else { |
$scantronurl = $settings->{'scantronformat'}; |
$scantronurl = $settings->{'scantronformat'}; |