aboutsummaryrefslogtreecommitdiffstats
path: root/config/tinydns/tinydns_domains.xml
diff options
context:
space:
mode:
authorserg dvoriancev <dv_serg@mail.ru>2010-04-12 21:52:00 +0400
committerserg dvoriancev <dv_serg@mail.ru>2010-04-12 21:52:00 +0400
commit312f6a4827d742869daba0ebb186b6de5483379a (patch)
tree9285758224d8a53d519f7fab142629397e1ef13d /config/tinydns/tinydns_domains.xml
parent8d8c3e1278c35aaf235710d07cbe6583337700d5 (diff)
parente8fa9505ad3c402bf4a5b5143842c0028382a658 (diff)
downloadpfsense-packages-312f6a4827d742869daba0ebb186b6de5483379a.tar.gz
pfsense-packages-312f6a4827d742869daba0ebb186b6de5483379a.tar.bz2
pfsense-packages-312f6a4827d742869daba0ebb186b6de5483379a.zip
Merge branch 'master' of http://gitweb.pfsense.org/pfsense-packages/mainline
Diffstat (limited to 'config/tinydns/tinydns_domains.xml')
-rw-r--r--config/tinydns/tinydns_domains.xml19
1 files changed, 3 insertions, 16 deletions
diff --git a/config/tinydns/tinydns_domains.xml b/config/tinydns/tinydns_domains.xml
index 33647bac..247227d8 100644
--- a/config/tinydns/tinydns_domains.xml
+++ b/config/tinydns/tinydns_domains.xml
@@ -232,28 +232,15 @@
}
</custom_php_validation_command>
<custom_add_php_command>
- $dnssync = true;
- log_error("Begin tinydns add");
+ </custom_add_php_command>
+ <custom_php_resync_config_command>
+ log_error("Begin tinydns resync");
tinydns_create_zone_file();
log_error("Zone file done.");
tinydns_setup_ping_items();
log_error("Ping items done.");
tinydns_sync_on_changes();
log_error("Sync items done.");
- </custom_add_php_command>
- <custom_php_resync_config_command>
- if(!$dnssync) {
- log_error("Begin tinydns resync");
- tinydns_create_zone_file();
- log_error("Zone file done.");
- tinydns_setup_ping_items();
- log_error("Ping items done.");
- tinydns_sync_on_changes();
- log_error("Sync items done.");
- } else {
- tinydns_create_zone_file();
- tinydns_setup_ping_items();
- }
</custom_php_resync_config_command>
<custom_php_command_before_form>
unset($_POST['temp']);