summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorErmal LUÇI <eri@pfsense.org>2015-01-07 20:15:30 +0100
committerErmal LUÇI <eri@pfsense.org>2015-01-07 20:15:57 +0100
commit91456048a7527605673768f571a76d64e3f0e8b4 (patch)
tree05cd0d0fc047ba265d88ca3f4ffbb7cc807fdacc /usr/local
parent2a8a09a9fe14e1680c899716ea3fc86e62f3c690 (diff)
downloadpfsense-91456048a7527605673768f571a76d64e3f0e8b4.zip
pfsense-91456048a7527605673768f571a76d64e3f0e8b4.tar.gz
split is deprecated move to explode
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/widgets/widgets/dyn_dns_status.widget.php2
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'>";
OpenPOWER on IntegriCloud