Skip to content

Commit 2690668

Browse files
committed
Update Example.php
1 parent 56c7e8e commit 2690668

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Example.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ function ServerInfo($ip, $port)
77
$ret = "Error loading server info for " . $ip . ":" . $port;
88
try
99
{
10+
print_r($query);
1011
$query->Connect($ip, $port, 1, SourceQuery::SOURCE);
1112
$info = $query->GetInfo();
1213
$ret = $info['Map'] . " [" . $info['Players'] . "/" . $info['MaxPlayers'] . " players]";

0 commit comments

Comments
 (0)