diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-02-12 18:15:39 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-02-12 18:15:39 +0000 |
commit | 179c41ed3c632343085ae8dda5ef12e9d61b68db (patch) | |
tree | 8336b501410d0fd4d8944cdc0d912fe6ff4b77bf | |
parent | fe948c97c1ef4c1b624730a196152d190c070b7e (diff) | |
download | pfsense-packages-179c41ed3c632343085ae8dda5ef12e9d61b68db.tar.gz pfsense-packages-179c41ed3c632343085ae8dda5ef12e9d61b68db.tar.bz2 pfsense-packages-179c41ed3c632343085ae8dda5ef12e9d61b68db.zip |
* Use $_POST
* Misc formatting
-rw-r--r-- | packages/tinydns/tinydns_sync.xml | 2 | ||||
-rw-r--r-- | packages/tinydns/tinydns_xmlrpc_sync.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/tinydns/tinydns_sync.xml b/packages/tinydns/tinydns_sync.xml index f275ec73..c950eae3 100644 --- a/packages/tinydns/tinydns_sync.xml +++ b/packages/tinydns/tinydns_sync.xml @@ -11,7 +11,7 @@ tinydns_custom_php_deinstall_command(); </custom_php_deinstall_command> <custom_php_resync_config_command> - tinydns_do_xmlrpc_sync($ipaddress, $password); + tinydns_do_xmlrpc_sync($_POST['ipaddress'], $_POST['password']); </custom_php_resync_config_command> <include_file>/usr/local/pkg/tinydns.inc</include_file> <fields> diff --git a/packages/tinydns/tinydns_xmlrpc_sync.php b/packages/tinydns/tinydns_xmlrpc_sync.php index 6872fc4b..98a54759 100644 --- a/packages/tinydns/tinydns_xmlrpc_sync.php +++ b/packages/tinydns/tinydns_xmlrpc_sync.php @@ -43,7 +43,7 @@ if(!$config) { if($config['installedpackages']['carpsettings']['config']) $password = $config['installedpackages']['carpsettings']['config'][0]['password']; if($config['installedpackages']['carpsettings']['config']) - $syncip = $config['installedpackages']['carpsettings']['config'][0]['synchronizetoip']; + $syncip = $config['installedpackages']['carpsettings']['config'][0]['synchronizetoip']; if($config['installedpackages']['carpsettings']['config']) $syncxmlrpc = $config['installedpackages']['tinydns']['config'][0]['syncxmlrpc']; |