From 8d7cb4b605771f9a462a8ac39817163fca49ebcc Mon Sep 17 00:00:00 2001 From: Catalin Vatra Date: Thu, 25 Jun 2020 07:32:12 +0300 Subject: [PATCH] Allows alphanumeric names for the reflector --- dashboard/pgs/class.reflector.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dashboard/pgs/class.reflector.php b/dashboard/pgs/class.reflector.php index 6ec8a6e..4f5fb60 100755 --- a/dashboard/pgs/class.reflector.php +++ b/dashboard/pgs/class.reflector.php @@ -43,10 +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;