diff --git a/config.php b/config.php index 45a28f1..94a3fe4 100644 --- a/config.php +++ b/config.php @@ -15,7 +15,7 @@ $urlserv = $ipserv.":".$portserv ; // 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 $objlower = $objhigher[0]; // if the json response its multidimensional this lowers it $objlower=json_decode($json); //converts to an array of objects diff --git a/index.php b/index.php index c2bf32b..bb0e0b5 100644 --- a/index.php +++ b/index.php @@ -278,9 +278,6 @@ $sec = "300"; User Database -