From ac3f9e4ad216938085c8210bb545b4c4fc93056f Mon Sep 17 00:00:00 2001 From: Catalin Vatra Date: Mon, 18 Jan 2021 11:34:52 +0200 Subject: [PATCH] Update class.reflector.php --- dashboard/pgs/class.reflector.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dashboard/pgs/class.reflector.php b/dashboard/pgs/class.reflector.php index 4f5fb60..d545e99 100755 --- a/dashboard/pgs/class.reflector.php +++ b/dashboard/pgs/class.reflector.php @@ -41,9 +41,15 @@ class xReflector { $handle = fopen($this->XMLFile, 'r'); $this->XMLContent = fread($handle, filesize($this->XMLFile)); fclose($handle); - + + # XLX alphanumeric naming... $this->ServiceName = substr($this->XMLContent, strpos($this->XMLContent, "ServiceName) == 1) { + $this->ServiceName = null; + return false; + } + +# $this->ServiceName = substr($this->XMLContent, strpos($this->XMLContent, "ServiceName)) { # $this->ServiceName = null; # return false;