github-pachong/public/index.php
hellcat c69d35d1bb 1
2026-01-10 16:40:33 +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());