Skip to content

Commit a98c9a3

Browse files
committed
Replace one more occurance of slave_zone_file_prefix, #6520
1 parent 994a047 commit a98c9a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/bind_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ function slave_update($event_name, $data) {
460460
}
461461

462462
//* Ensure that the named slave directory is writable by the named user
463-
$slave_record_dir = $dns_config['bind_zonefiles_dir'].'/'.$this->slave_zone_file_prefix();
463+
$slave_record_dir = $dns_config['bind_zonefiles_dir'].'/'.$dns_config['bind_zonefiles_slaveprefix'];
464464
if(!@is_dir($slave_record_dir)) mkdir($slave_record_dir, 0770, true);
465465
chown($slave_record_dir, $dns_config['bind_user']);
466466
chgrp($slave_record_dir, $dns_config['bind_group']);

0 commit comments

Comments
 (0)