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:
parent
4ba94cbfe0
commit
effd58b296
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user