dd/public/index.php
2026-05-15 14:29:58 +08:00

51 lines
897 B
PHP
Executable File

<?php
use Illuminate\Http\Request;
define('LARAVEL_START', microtime(true));
function t($x)
{
if (env("is_loc") != 1) {
return;
}
echo "<pre>";
var_dump($x);
}
function tt($x)
{
if (env("is_loc") != 1) {
return;
}
echo "<pre>";
var_dump($x);
exit;
}
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());