From 179c41ed3c632343085ae8dda5ef12e9d61b68db Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 12 Feb 2007 18:15:39 +0000 Subject: * Use $_POST * Misc formatting --- packages/tinydns/tinydns_sync.xml | 2 +- packages/tinydns/tinydns_xmlrpc_sync.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/tinydns') 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(); - tinydns_do_xmlrpc_sync($ipaddress, $password); + tinydns_do_xmlrpc_sync($_POST['ipaddress'], $_POST['password']); /usr/local/pkg/tinydns.inc 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']; -- cgit v1.2.3