Allows alphanumeric names for the reflector

pull/169/head
Catalin Vatra 6 years ago committed by GitHub
parent effd58b296
commit 8d7cb4b605
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -43,10 +43,11 @@ class xReflector {
fclose($handle);
$this->ServiceName = substr($this->XMLContent, strpos($this->XMLContent, "<XLX")+4, 3);
if (!is_numeric($this->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;

Loading…
Cancel
Save

Powered by TurnKey Linux.