diff --git a/bootstrap/dash.php b/bootstrap/dash.php new file mode 100644 index 0000000..e7aa590 --- /dev/null +++ b/bootstrap/dash.php @@ -0,0 +1,56 @@ +make(Kernel::class); + +$response = $kernel->handle( + $request = Request::capture() +)->send(); + +$kernel->terminate($request, $response); diff --git a/public/index.php b/public/index.php index e7aa590..700f0cc 100644 --- a/public/index.php +++ b/public/index.php @@ -1,56 +1,16 @@ make(Kernel::class); - -$response = $kernel->handle( - $request = Request::capture() -)->send(); - -$kernel->terminate($request, $response); +// Start DASH! +require '../bootstrap/dash.php';