Project

General

Profile

« Previous | Next » 

Revision 23e69ae8

Added by Ermal Luçi over 15 years ago

Ticket #363. Fix the number 1 report on this ticket. Properly show status of dyndns update.

View differences:

etc/inc/dyndns.class
88 88
				    $dnsWildcard = 'OFF', $dnsMX = '', $dnsIf = '', $dnsBackMX = '',
89 89
				    $dnsServer = '', $dnsPort = '', $dnsUpdateURL = '') {
90 90
			
91
			global $config;
91
			global $config, $g;
92 92
			
93
			$this->_cacheFile = "/cf/conf/dyndns_{$dnsIf}{$dnsService}.cache";
94
			$this->_debugFile = "/var/etc/dyndns_{$dnsIf}{$dnsService}.debug";
93
			$this->_cacheFile = "{$g['conf_path']}/dyndns_{$dnsIf}{$dnsService}.cache";
94
			$this->_debugFile = "{$g['varetc_path']}/dyndns_{$dnsIf}{$dnsService}.debug";
95 95

  
96 96
			log_error("DynDns: updatedns() starting");
97 97
			

Also available in: Unified diff