mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Handle relative paths to records files
This commit is contained in:
@@ -18,7 +18,7 @@ $dom = $zone->{'name'};
|
||||
|
||||
$desc = &ip6int_to_net(&arpa_to_ip($dom));
|
||||
if ($zone->{'file'}) {
|
||||
@st = stat(&make_chroot($zone->{'file'}));
|
||||
@st = stat(&make_chroot(&absolute_path($zone->{'file'})));
|
||||
$lasttrans = &text('slave_last', @st && $st[7] ? &make_date($st[9])
|
||||
: $text{'slave_never'});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user