public function GetProperty($propertyName, $ignoreCache = false)
{
if (!array_key_exists($propertyName, $this->propsCache) || $ignoreCache) {
$this->propsCache[$propertyName] = $this->Db->GetOne("\n SELECT value\n FROM server_properties\n WHERE server_id=? AND name=? LIMIT 1\n ", array($this->serverId, $propertyName));
}
return $this->propsCache[$propertyName];
}