$v){putenv($k.'='.$v);$_ENV[$k]=$_SERVER[$k]=$v;} $public=realpath($s['HOST_ROOT'].'/public');$uri=rawurldecode(parse_url($_SERVER['REQUEST_URI'],PHP_URL_PATH)?:'/');$file=realpath($public.$uri); if($uri!=='/'&&$file&&str_starts_with($file,$public.DIRECTORY_SEPARATOR)&&is_file($file))return false; // Password-free entry belongs only to this isolated demonstration host. define('LARAVEL_START', microtime(true)); require $s['HOST_ROOT'].'/vendor/autoload.php'; $app = require $s['HOST_ROOT'].'/bootstrap/app.php'; $app->booted(function () use ($s) { require __DIR__.'/payables-demo-entry.php'; }); $app->handleRequest(\Illuminate\Http\Request::capture());