From 80f93af4ef7e1576ff670a54cf9fad1cca04044c Mon Sep 17 00:00:00 2001 From: KasperRT Date: Wed, 22 Oct 2014 21:41:39 +0200 Subject: [PATCH] added fetch for the configurations submit form --- php/change.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/php/change.php b/php/change.php index cebc9224..c2bf4b2a 100755 --- a/php/change.php +++ b/php/change.php @@ -177,6 +177,15 @@ else if(isset($_GET['skip'])){ //skip song request } echo($skips."/".$viewers); +}else if(isset($_POST['conf'])) +{ + $vote = $_POST['vote']; + $addsongs = $_POST['addsongs']; + $longsongs = $_POST['longsongs']; + $frontpage = $_POST['frontpage']; + $onlymusic = $_POST['onlymusic']; + $removeplay = $_POST['removeplay']; + echo "vote: ".$vote.", addsongs: ".$addsongs.", longsongs: ".$longsongs.", frontpage: ".$frontpage.", onlymusic: ".$removeplay; }else if(isset($_GET['timedifference'])){ $diff = (time() - $data["conf"]["startTime"]);