Update join.blade.php
This commit is contained in:
parent
54409953b6
commit
cf057e156b
|
|
@ -11,14 +11,16 @@ $app = addslashes($_GET["app"]);*/
|
||||||
if (Auth::check()) {
|
if (Auth::check()) {
|
||||||
$username = addslashes(Auth::user()->name);
|
$username = addslashes(Auth::user()->name);
|
||||||
$id = addslashes(Auth::id());
|
$id = addslashes(Auth::id());
|
||||||
|
$app = '' . addslashes(Auth::id());
|
||||||
} else {
|
} else {
|
||||||
$randName = mt_rand(1, 9999);
|
$randName = mt_rand(1, 9999);
|
||||||
$username = "Guest " . $randName;
|
$username = "Guest " . $randName;
|
||||||
$id = 0;
|
$id = 0;
|
||||||
|
$app = '0'
|
||||||
}
|
}
|
||||||
$ip = addslashes($_GET["ip"]);
|
$ip = addslashes($_GET["ip"]);
|
||||||
$port = addslashes($_GET["port"]);
|
$port = addslashes($_GET["port"]);
|
||||||
$app = 'test';
|
$app = '0';
|
||||||
|
|
||||||
ob_start();
|
ob_start();
|
||||||
@endphp
|
@endphp
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue