From 787a2d68619f86f8716bdb5cdc3b300f8bea611a Mon Sep 17 00:00:00 2001 From: Erreur32 Date: Sun, 31 Jan 2021 16:31:37 +0100 Subject: [PATCH] first commit --- config.php | 2 +- index.php | 24 ++---------------------- 2 files changed, 3 insertions(+), 23 deletions(-) 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 -