Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Open sidebar
Dirk Dankhoff
ISPConfig 3
Commits
e699a5c1
Commit
e699a5c1
authored
Apr 05, 2011
by
dalewski
Browse files
closes FS#1479 - also_notify in dns wizard
parent
27c6232b
Changes
1
Hide whitespace changes
Inline
Side-by-side
interface/web/dns/dns_wizard.php
View file @
e699a5c1
...
...
@@ -235,10 +235,11 @@ if($_POST['create'] == 1) {
$minimum
=
$app
->
db
->
quote
(
$vars
[
'minimum'
]);
$ttl
=
$app
->
db
->
quote
(
$vars
[
'ttl'
]);
$xfer
=
$app
->
db
->
quote
(
$vars
[
'xfer'
]);
$also_notify
=
$app
->
db
->
quote
(
$vars
[
'also_notify'
]);
$serial
=
$app
->
validate_dns
->
increase_serial
(
0
);
$insert_data
=
"(`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_id`, `origin`, `ns`, `mbox`, `serial`, `refresh`, `retry`, `expire`, `minimum`, `ttl`, `active`, `xfer`) VALUES
('
$sys_userid
', '
$sys_groupid
', 'riud', 'riud', '', '
$server_id
', '
$origin
', '
$ns
', '
$mbox
', '
$serial
', '
$refresh
', '
$retry
', '
$expire
', '
$minimum
', '
$ttl
', 'Y', '
$xfer
')"
;
$insert_data
=
"(`sys_userid`, `sys_groupid`, `sys_perm_user`, `sys_perm_group`, `sys_perm_other`, `server_id`, `origin`, `ns`, `mbox`, `serial`, `refresh`, `retry`, `expire`, `minimum`, `ttl`, `active`, `xfer`
, `also_notify`
) VALUES
('
$sys_userid
', '
$sys_groupid
', 'riud', 'riud', '', '
$server_id
', '
$origin
', '
$ns
', '
$mbox
', '
$serial
', '
$refresh
', '
$retry
', '
$expire
', '
$minimum
', '
$ttl
', 'Y', '
$xfer
'
, '
$also_notify
'
)"
;
$dns_soa_id
=
$app
->
db
->
datalogInsert
(
'dns_soa'
,
$insert_data
,
'id'
);
// Insert the dns_rr records
...
...
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