Update class.reflector.php

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

@ -43,11 +43,11 @@ class xReflector {
fclose($handle); fclose($handle);
$this->ServiceName = substr($this->XMLContent, strpos($this->XMLContent, "<XLX")+4, 3); $this->ServiceName = substr($this->XMLContent, strpos($this->XMLContent, "<XLX")+4, 3);
if (!is_numeric($this->ServiceName)) { # XLX alphanumeric naming... By commenting the following four lines, it is possible to use an alphanumeric name for the reflector (eg: XLXABC)
$this->ServiceName = null; # if (!is_numeric($this->ServiceName)) {
return false; # $this->ServiceName = null;
} # return false;
# }
$this->ReflectorName = "XLX".$this->ServiceName; $this->ReflectorName = "XLX".$this->ServiceName;
$LinkedPeersName = "XLX".$this->ServiceName." linked peers"; $LinkedPeersName = "XLX".$this->ServiceName." linked peers";

Loading…
Cancel
Save

Powered by TurnKey Linux.