From effd58b296ecd52693f7e0f464156c0a95cf241f Mon Sep 17 00:00:00 2001 From: Catalin Vatra Date: Thu, 25 Jun 2020 07:30:48 +0300 Subject: [PATCH] Update class.reflector.php --- dashboard2/pgs/class.reflector.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dashboard2/pgs/class.reflector.php b/dashboard2/pgs/class.reflector.php index d6505f7..504fcfa 100644 --- a/dashboard2/pgs/class.reflector.php +++ b/dashboard2/pgs/class.reflector.php @@ -43,11 +43,11 @@ class xReflector { fclose($handle); $this->ServiceName = substr($this->XMLContent, strpos($this->XMLContent, "ServiceName)) { - $this->ServiceName = null; - return false; - } - +# XLX alphanumeric naming... By commenting the following four lines, it is possible to use an alphanumeric name for the reflector (eg: XLXABC) +# if (!is_numeric($this->ServiceName)) { +# $this->ServiceName = null; +# return false; +# } $this->ReflectorName = "XLX".$this->ServiceName; $LinkedPeersName = "XLX".$this->ServiceName." linked peers";