fixed (by just commenting out some lines) the <map> option in 'disk.pm'

This commit is contained in:
Jordi Sanfeliu 2021-08-03 09:52:12 +02:00
parent e12df74724
commit e06aa33218
1 changed files with 5 additions and 5 deletions

View File

@ -483,7 +483,7 @@ sub disk_cgi {
chomp($dstr);
}
$dstr =~ s/^(.+?) .*$/$1/;
# $dstr =~ s/^(.+?) .*$/$1/;
if($base && defined($disk->{map}->{$base})) {
$dstr = $disk->{map}->{$base};
} else {
@ -638,7 +638,7 @@ sub disk_cgi {
chomp($dstr);
}
$dstr =~ s/^(.+?) .*$/$1/;
# $dstr =~ s/^(.+?) .*$/$1/;
if($base && defined($disk->{map}->{$base})) {
$dstr = $disk->{map}->{$base};
} else {
@ -664,7 +664,7 @@ sub disk_cgi {
chomp($dstr);
}
$dstr =~ s/^(.+?) .*$/$1/;
# $dstr =~ s/^(.+?) .*$/$1/;
if($base && defined($disk->{map}->{$base})) {
$dstr = $disk->{map}->{$base};
} else {
@ -785,7 +785,7 @@ sub disk_cgi {
chomp($dstr);
}
$dstr =~ s/^(.+?) .*$/$1/;
# $dstr =~ s/^(.+?) .*$/$1/;
if($base && defined($disk->{map}->{$base})) {
$dstr = $disk->{map}->{$base};
} else {
@ -811,7 +811,7 @@ sub disk_cgi {
chomp($dstr);
}
$dstr =~ s/^(.+?) .*$/$1/;
# $dstr =~ s/^(.+?) .*$/$1/;
if($base && defined($disk->{map}->{$base})) {
$dstr = $disk->{map}->{$base};
} else {