Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zvonimir
ISPConfig 3
Commits
cb380822
Commit
cb380822
authored
Oct 30, 2009
by
tbrehm
Browse files
No commit message
No commit message
parent
fc70a2c6
Changes
2
Hide whitespace changes
Inline
Side-by-side
server/conf/bind_named.conf.local.master
View file @
cb380822
<tmpl_loop name='zones'>
<tmpl_if name='zone'>
zone "<tmpl_var name='zone'>" {
type master;
file "<tmpl_var name='zonefile_path'>";
};
</tmpl_if>
</tmpl_loop>
server/plugins-available/bind_plugin.inc.php
View file @
cb380822
...
...
@@ -134,7 +134,7 @@ class bind_plugin {
$this
->
write_named_conf
(
$data
,
$dns_config
);
//* Delete the domain file
$filename
=
$dns_config
[
'bind_zonefiles_dir'
]
.
'/pri.'
.
$data
[
'old'
][
'origin'
];
$filename
=
$dns_config
[
'bind_zonefiles_dir'
]
.
'/pri.'
.
substr
(
$data
[
'old'
][
'origin'
]
,
0
,
-
1
)
;
if
(
is_file
(
$filename
))
unset
(
$filename
);
$app
->
log
(
"Deleting BIND domain file: "
.
$filename
,
LOGLEVEL_DEBUG
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment