From c69651ccb2c571fccdf2d9b85345179f60d30c36 Mon Sep 17 00:00:00 2001 From: Catalin Vatra Date: Mon, 18 Jan 2021 11:35:36 +0200 Subject: [PATCH] Update class.reflector.php --- dashboard2/pgs/class.reflector.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dashboard2/pgs/class.reflector.php b/dashboard2/pgs/class.reflector.php index beb5ae2..4a2c246 100644 --- a/dashboard2/pgs/class.reflector.php +++ b/dashboard2/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;