1
0
mirror of https://github.com/ShaYmez/xlxd.git synced 2024-12-22 09:31:14 -05:00

Update class.reflector.php

This commit is contained in:
Catalin Vatra 2020-06-25 07:30:48 +03:00 committed by GitHub
parent 4ba94cbfe0
commit effd58b296
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,11 +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;
$LinkedPeersName = "XLX".$this->ServiceName." linked peers";