pull/1/head
Tom Early 6 years ago
parent ad4e9104fc
commit 8d8143fed9

@ -42,17 +42,17 @@ class xReflector {
$this->XMLContent = fread($handle, filesize($this->XMLFile));
fclose($handle);
$this->ServiceName = substr($this->XMLContent, strpos($this->XMLContent, "<XLX")+4, 3);
$this->ServiceName = substr($this->XMLContent, strpos($this->XMLContent, "<XRF")+4, 3);
if (!is_numeric($this->ServiceName)) {
$this->ServiceName = null;
return false;
}
$this->ReflectorName = "XLX".$this->ServiceName;
$this->ReflectorName = "XRF".$this->ServiceName;
$LinkedPeersName = "XLX".$this->ServiceName." linked peers";
$LinkedNodesName = "XLX".$this->ServiceName." linked nodes";
$LinkedUsersName = "XLX".$this->ServiceName." heard users";
$LinkedPeersName = "XRF".$this->ServiceName." linked peers";
$LinkedNodesName = "XRF".$this->ServiceName." linked nodes";
$LinkedUsersName = "XRF".$this->ServiceName." heard users";
$XML = new ParseXML();

Loading…
Cancel
Save

Powered by TurnKey Linux.