From 28ea1f0ecd64214945fd5686888edcb258381a16 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 24 Jan 2007 22:58:51 +0000 Subject: Do not use fancy php pointers, leading to the whipeout of carpsettings xml entries on secondary hosts --- packages/tinydns/tinydns_xmlrpc_sync.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'packages/tinydns') diff --git a/packages/tinydns/tinydns_xmlrpc_sync.php b/packages/tinydns/tinydns_xmlrpc_sync.php index 169e0715..08e80e24 100644 --- a/packages/tinydns/tinydns_xmlrpc_sync.php +++ b/packages/tinydns/tinydns_xmlrpc_sync.php @@ -47,10 +47,9 @@ function tinydns_do_xmlrpc_sync() { if(!$syncxmlrpc) return; - $carp = &$config['installedpackages']['carpsettings']['config'][0]; - $password = $carp['password']; + $password = $config['installedpackages']['carpsettings']['config'][0]['password']; - if(!$carp['synchronizetoip']) + if(!$config['installedpackages']['carpsettings']['config'][0]['synchronizetoip']) return; log_error("[tinydns] tinydns_xmlrpc_sync.php is starting."); -- cgit v1.2.3