From 37c8e07d0c25daf6ea603277d21ee65f610dbfae Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 19 Nov 2010 18:24:58 +0000 Subject: Fix reading the ip from the right file for dyndns. --- usr/local/www/services_dyndns.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'usr') diff --git a/usr/local/www/services_dyndns.php b/usr/local/www/services_dyndns.php index c1a25d4..c6939d7 100755 --- a/usr/local/www/services_dyndns.php +++ b/usr/local/www/services_dyndns.php @@ -114,21 +114,21 @@ include("head.inc"); + $types = explode(",", "DNS-O-Matic, DynDNS (dynamic),DynDNS (static),DynDNS (custom),DHS,DyNS,easyDNS,No-IP,ODS.org,ZoneEdit,Loopia,freeDNS, DNSexit, OpenDNS, Namecheap"); + $vals = explode(" ", "dnsomatic dyndns dyndns-static dyndns-custom dhs dyns easydns noip ods zoneedit loopia freedns dnsexit opendns namecheap"); + $j = 0; for ($j = 0; $j < count($vals); $j++) + if ($vals[$j] == $dyndns['type']) { + echo htmlspecialchars($types[$j]); + break; + } + ?>