mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
added fetch for the configurations submit form
This commit is contained in:
@@ -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"]);
|
||||
|
||||
Reference in New Issue
Block a user