OHHHH SHITTTT
This commit is contained in:
parent
c25cf66bb5
commit
fdf5e7b23b
|
|
@ -59,7 +59,7 @@ if ($momentoftruth == 1) {
|
|||
];
|
||||
echo json_encode($response);
|
||||
} else if ($okcheck == 0) {
|
||||
$hahatroll = $con->prepare('UPDATE tokens SET passedplacelauncher = 0 WHERE token=:token');
|
||||
$hahatroll = $con->prepare('UPDATE tokens SET passedplacelauncher = 1 WHERE token=:token');
|
||||
$hahatroll->bindParam(':token', $token);
|
||||
$hahatroll->execute();
|
||||
function generateRandomJobId() {
|
||||
|
|
@ -79,7 +79,7 @@ if ($momentoftruth == 1) {
|
|||
$jobid = generateRandomJobId();
|
||||
$port = rand(5000,5999);
|
||||
$checkport = $con->prepare('SELECT COUNT(*) FROM tokens WHERE token=:token AND passedplacelauncher=:passed');
|
||||
$chechport->bindParam(':token', $token);
|
||||
$checkport->bindParam(':token', $token);
|
||||
$checkport->bindParam(':passed', $okbruh);
|
||||
$checkport->execute();
|
||||
$okbrahh = $checkport->fetchColumn();
|
||||
|
|
|
|||
Loading…
Reference in New Issue