small typo fix
This commit is contained in:
parent
1aea9e820f
commit
c8b56e7cb1
1 changed files with 9 additions and 8 deletions
17
config.php
17
config.php
|
@ -1,20 +1,21 @@
|
||||||
<?php
|
<?php
|
||||||
ini_set("allow_url_fopen", 1);
|
|
||||||
|
ini_set("allow_url_fopen", 1);
|
||||||
|
|
||||||
// Edit this ->
|
// Edit this ->
|
||||||
|
|
||||||
$ipserv = "103.58.149.102" ; // IP server game
|
$ipserv = "103.58.149.102" ; // IP server game
|
||||||
$portserv = "2302" ; // Game Server Port
|
$portserv = "2302" ; // Game Server Port
|
||||||
$modport = "2312" ; // Mod port omega (+10)
|
$modport = "2312" ; // Mod port omega (+10)
|
||||||
$queryport= "27016" ; // Queryport
|
$queryport= "27016" ; // Queryport
|
||||||
$title = "MY stat SERVER " ; // Web title page
|
$title = "DayZ Stat SERVER Clan | by TOX" ; // Web title page
|
||||||
$descript = "Your crew desciption" ;
|
$descript = "Your Clan desciption" ;
|
||||||
$namemap = "MAP CHERNARUS"; // you can put what you want.
|
$namemap = "MAP CHERNARUS"; // you can put what you want.
|
||||||
|
|
||||||
// Don't touch below
|
// Don't touch below
|
||||||
|
|
||||||
$urlserv = $ipserv.":".$portserv ;
|
$urlserv = $ipserv.":".$portserv ;
|
||||||
// need to fix if mod = 0
|
// need to fix if mod = 0
|
||||||
$json = file_get_contents("http://".$ipserv.":".$modport."/");
|
$json = file_get_contents("http://".$ipserv.":".$modport."/");
|
||||||
$objhigher=json_decode($json); //converts to an object
|
$objhigher=json_decode($json); //converts to an object
|
||||||
$objlower = $objhigher[0]; // if the json response its multidimensional this lowers it
|
$objlower = $objhigher[0]; // if the json response its multidimensional this lowers it
|
||||||
|
|
Loading…
Reference in a new issue