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)); $this->XMLContent = fread($handle, filesize($this->XMLFile));
fclose($handle); 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)) { if (!is_numeric($this->ServiceName)) {
$this->ServiceName = null; $this->ServiceName = null;
return false; return false;
} }
$this->ReflectorName = "XLX".$this->ServiceName; $this->ReflectorName = "XRF".$this->ServiceName;
$LinkedPeersName = "XLX".$this->ServiceName." linked peers"; $LinkedPeersName = "XRF".$this->ServiceName." linked peers";
$LinkedNodesName = "XLX".$this->ServiceName." linked nodes"; $LinkedNodesName = "XRF".$this->ServiceName." linked nodes";
$LinkedUsersName = "XLX".$this->ServiceName." heard users"; $LinkedUsersName = "XRF".$this->ServiceName." heard users";
$XML = new ParseXML(); $XML = new ParseXML();

Loading…
Cancel
Save

Powered by TurnKey Linux.