studio fix
This commit is contained in:
parent
2bc73cb5b2
commit
faaa391555
|
|
@ -8,11 +8,17 @@ use Storage;
|
||||||
|
|
||||||
class ClientController extends Controller
|
class ClientController extends Controller
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
public function studio()
|
public function studio()
|
||||||
{
|
{
|
||||||
$content = Storage::disk('client')->get('studio.ashx');
|
$content = Storage::disk('client')->get('studio.ashx');
|
||||||
|
|
||||||
return $content;
|
return $content;
|
||||||
|
}*/
|
||||||
|
|
||||||
|
public function studio()
|
||||||
|
{
|
||||||
|
return view('client.studio');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function ide()
|
public function ide()
|
||||||
|
|
@ -25,10 +31,10 @@ class ClientController extends Controller
|
||||||
return view('client.visit');
|
return view('client.visit');
|
||||||
}
|
}
|
||||||
|
|
||||||
// public function join()
|
/* public function join()
|
||||||
// {
|
{
|
||||||
// return view('client.join');
|
return view('client.join');
|
||||||
// }
|
}*/
|
||||||
|
|
||||||
public function toolbox()
|
public function toolbox()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,15 @@
|
||||||
|
@php
|
||||||
|
|
||||||
|
header("content-type:text/plain");
|
||||||
|
|
||||||
|
ob_start();
|
||||||
|
@endphp
|
||||||
|
|
||||||
|
game:GetService("ScriptContext"):AddStarterScript(1)
|
||||||
|
@php
|
||||||
|
$data = ob_get_clean();
|
||||||
|
$signature;
|
||||||
|
$key = file_get_contents(asset("GameRBLX/PrivKey.pem"));
|
||||||
|
openssl_sign($data, $signature, $key, OPENSSL_ALGO_SHA1);
|
||||||
|
echo "" . sprintf("%%%s%%%s", base64_encode($signature), $data);
|
||||||
|
@endphp
|
||||||
Loading…
Reference in New Issue