Project

General

Profile

« Previous | Next » 

Revision 3d72df58

Added by Phil Davis over 12 years ago

Correct filename for dyndns widget cached ip

View differences:

usr/local/www/widgets/widgets/dyn_dns_status.widget.php
103 103
          </td>
104 104
          <td class="listlr">
105 105
            <?php
106
              $filename = "{$g['conf_path']}/dyndns_{$if}{$dyndns['type']}" . escapeshellarg($dyndns['host']) . ".cache";
106
              $filename = "{$g['conf_path']}/dyndns_{$if}{$dyndns['type']}" . escapeshellarg($dyndns['host']) . "{$dyndns['id']}.cache";
107 107
              $ipaddr = dyndnsCheckIP($if);
108 108
              if(file_exists($filename)) {
109 109
                $cached_ip_s = split(":", file_get_contents($filename));

Also available in: Unified diff