diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-03-13 02:18:15 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-03-13 02:18:15 -0500 |
commit | 13e6fb2e02edf825ab1a2ae357ae7033fb04f375 (patch) | |
tree | 6fdd85700abddc02eafacc23f2ab1484f836ed1d /etc/inc | |
parent | 1274cfd47d7c8462becccd5e154457750bc38fbc (diff) | |
download | pfsense-13e6fb2e02edf825ab1a2ae357ae7033fb04f375.zip pfsense-13e6fb2e02edf825ab1a2ae357ae7033fb04f375.tar.gz |
we actually use xmlrpcbaseurl here, not product_website
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 3654ec3..77c1479 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -661,13 +661,13 @@ function rmdir_recursive($path,$follow_links=false) { } /* - * call_pfsense_method(): Call a method exposed by the pfsense.com XMLRPC server. + * call_pfsense_method(): Call a method exposed by the pfsense.org XMLRPC server. */ function call_pfsense_method($method, $params, $timeout = 0) { global $g, $config; - $ip = gethostbyname($g['product_website']); - if($ip == $g['product_website']) + $ip = gethostbyname($g['xmlrpcbaseurl']); + if($ip == $g['xmlrpcbaseurl']) return false; $xmlrpc_base_url = isset($config['system']['altpkgrepo']['enable']) ? $config['system']['altpkgrepo']['xmlrpcbaseurl'] : $g['xmlrpcbaseurl']; |