mirror of
https://github.com/YGGverse/HLState.git
synced 2026-04-01 01:25:28 +00:00
init default info members
This commit is contained in:
parent
a5267b2e96
commit
3192aab93d
3 changed files with 22 additions and 3 deletions
|
|
@ -57,7 +57,26 @@ class ServerController extends AbstractController
|
|||
}
|
||||
|
||||
// Init defaults
|
||||
$info = [];
|
||||
$status = false;
|
||||
|
||||
$info =
|
||||
[
|
||||
'Protocol' => null,
|
||||
'HostName' => null,
|
||||
'Map' => null,
|
||||
'ModDir' => null,
|
||||
'ModDesc' => null,
|
||||
'AppID' => null,
|
||||
'Players' => null,
|
||||
'MaxPlayers' => null,
|
||||
'Bots' => null,
|
||||
'Dedicated' => null,
|
||||
'Os' => null,
|
||||
'Password' => null,
|
||||
'Secure' => null,
|
||||
'Version' => null
|
||||
];
|
||||
|
||||
$session = [];
|
||||
|
||||
// Get online
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue