Backend
This commit is contained in:
1 parent
b7caa9be78
commit
aa789dd5a7
9 files changed
+352
-78
No files matched your search
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
//Felix
|
||||
require "db.php";$action=$_GET['action']??'';$b=body();
|
||||
if($action==="join"){
|
||||
$sid=(int)($b["session_id"]??0);$uid=(int)($b["user_id"]??0);$role=$b["role"]??"Player";if(!in_array($role,["DM","Player"]))$role="Player";
|
||||
|
||||
Reference in new issue
Block a user