dd/public/index.php
hellcat 5f37124e8e 1
2025-05-07 18:25:24 +08:00

30 lines
660 B
PHP
Executable File

<?php
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
function tomd($aData, $iType = 0) {
if (env("is_loc") == 1) {
echo "<pre>";
var_dump($aData);
if ($iType == 1) {
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());