Initial commit

This commit is contained in:
xboard
2023-11-17 14:44:01 +08:00
commit 65fe7682ff
460 changed files with 63554 additions and 0 deletions

38
start.php Normal file
View File

@@ -0,0 +1,38 @@
<?php
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$app = require_once __DIR__.'/bootstrap/app.php';
global $kernel;
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
function run()
{
global $kernel;
ob_start();
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);
return ob_get_clean();
}