diff options
author | Ermal LUÇI <eri@pfsense.org> | 2015-01-07 20:15:30 +0100 |
---|---|---|
committer | Ermal LUÇI <eri@pfsense.org> | 2015-01-07 20:15:57 +0100 |
commit | 91456048a7527605673768f571a76d64e3f0e8b4 (patch) | |
tree | 05cd0d0fc047ba265d88ca3f4ffbb7cc807fdacc /usr | |
parent | 2a8a09a9fe14e1680c899716ea3fc86e62f3c690 (diff) | |
download | pfsense-91456048a7527605673768f571a76d64e3f0e8b4.zip pfsense-91456048a7527605673768f571a76d64e3f0e8b4.tar.gz |
split is deprecated move to explode
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/widgets/widgets/dyn_dns_status.widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/dyn_dns_status.widget.php b/usr/local/www/widgets/widgets/dyn_dns_status.widget.php index f737d2a..3c82e59 100644 --- a/usr/local/www/widgets/widgets/dyn_dns_status.widget.php +++ b/usr/local/www/widgets/widgets/dyn_dns_status.widget.php @@ -59,7 +59,7 @@ if($_REQUEST['getdyndnsstatus']) { $filename = "{$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}" . escapeshellarg($dyndns['host']) . "{$dyndns['id']}.cache"; if (file_exists($filename)) { $ipaddr = dyndnsCheckIP($dyndns['interface']); - $cached_ip_s = split(":", file_get_contents($filename)); + $cached_ip_s = explode(':', file_get_contents($filename)); $cached_ip = $cached_ip_s[0]; if ($ipaddr <> $cached_ip) echo "<font color='red'>"; |