mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-22 21:35:56 +02:00
Move status config to settings
This commit is contained in:
@@ -57,7 +57,7 @@ class OTS_ServerInfo
|
||||
private function send(OTS_Buffer $packet)
|
||||
{
|
||||
// connects to server
|
||||
$socket = @fsockopen($this->server, $this->port, $error, $message, config('status_timeout'));
|
||||
$socket = @fsockopen($this->server, $this->port, $error, $message, setting('core.status_timeout'));
|
||||
|
||||
// if connected then checking statistics
|
||||
if($socket)
|
||||
|
Reference in New Issue
Block a user