Updated settings, less memory usage

This commit is contained in:
Shoghi Cervantes 2013-05-21 19:50:59 +02:00
parent c9cecaf218
commit b7083032f3
5 changed files with 13 additions and 59 deletions

View file

@ -36,7 +36,7 @@ class Query{
public function __construct(){
console("[INFO] Starting GS4 status listener");
$this->server = ServerAPI::request();
$addr = $this->server->api->getProperty("server-ip", "0.0.0.0");
$addr = ($ip = $this->server->api->getProperty("server-ip")) != "" ? $ip:"0.0.0.0";
$port = $this->server->api->getProperty("server-port");
console("[INFO] Setting query port to $port");
/*