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:16:02 +0100 |
commit | 9643058d99352140c447c476ac7447e2057a76db (patch) | |
tree | 7b2bbad444abf0c5ca91be6829d629955e18dbfa /usr/local/www/widgets | |
parent | 3add5b2d955c568833ced60a4986d8b5822fbaae (diff) | |
download | pfsense-9643058d99352140c447c476ac7447e2057a76db.zip pfsense-9643058d99352140c447c476ac7447e2057a76db.tar.gz |
split is deprecated move to explode
Diffstat (limited to 'usr/local/www/widgets')
-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'>"; |