github/public/index.php
2025-04-13 22:09:03 +08:00

28 lines
580 B
PHP
Executable File

<?php
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
function tomd($d, $type = 0)
{
echo "<pre>";
var_dump($d);
if ($type) {
exit;
}
}
// Determine if the application is in maintenance mode...
if (file_exists($maintenance = __DIR__.'/../storage/framework/maintenance.php')) {
require $maintenance;
}
// Register the Composer autoloader...
require __DIR__.'/../vendor/autoload.php';
// Bootstrap Laravel and handle the request...
(require_once __DIR__.'/../bootstrap/app.php')
->handleRequest(Request::capture());