summaryrefslogtreecommitdiffstats
path: root/etc/inc/dyndns.class
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2010-02-25 23:48:00 +0000
committerErmal Luçi <eri@pfsense.org>2010-02-25 23:48:00 +0000
commit23e69ae8da0f3f1d605d741612fdcee896ef8160 (patch)
tree48fc2ed08fd093da20d280f836a7e04045b2015e /etc/inc/dyndns.class
parent0e1add13cc84ba7679013944e1dd53718f276f81 (diff)
downloadpfsense-23e69ae8da0f3f1d605d741612fdcee896ef8160.zip
pfsense-23e69ae8da0f3f1d605d741612fdcee896ef8160.tar.gz
Ticket #363. Fix the number 1 report on this ticket. Properly show status of dyndns update.
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r--etc/inc/dyndns.class6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index 0bfbb77..e2c1eda 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -88,10 +88,10 @@
$dnsWildcard = 'OFF', $dnsMX = '', $dnsIf = '', $dnsBackMX = '',
$dnsServer = '', $dnsPort = '', $dnsUpdateURL = '') {
- global $config;
+ global $config, $g;
- $this->_cacheFile = "/cf/conf/dyndns_{$dnsIf}{$dnsService}.cache";
- $this->_debugFile = "/var/etc/dyndns_{$dnsIf}{$dnsService}.debug";
+ $this->_cacheFile = "{$g['conf_path']}/dyndns_{$dnsIf}{$dnsService}.cache";
+ $this->_debugFile = "{$g['varetc_path']}/dyndns_{$dnsIf}{$dnsService}.debug";
log_error("DynDns: updatedns() starting");
OpenPOWER on IntegriCloud