29 lines
805 B
PHP
29 lines
805 B
PHP
<?php
|
|
|
|
/**
|
|
* |--------------------------------------------------------------------------
|
|
* | Public entry point for WASL API
|
|
* |--------------------------------------------------------------------------
|
|
* | Served by nginx (or Octane directly). For Octane, this file is only used
|
|
* | during non-Octane requests / artisan.
|
|
*/
|
|
|
|
define('LARAVL_START', microtime(true));
|
|
|
|
// Determine if running via Octane — Octane bypasses this file entirely,
|
|
// but we keep it for standard php-fpm fallback.
|
|
|
|
require __DIR__.'/../vendor/autoload.php';
|
|
|
|
$app = require_once __DIR__.'/../bootstrap/app.php';
|
|
|
|
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
|
|
|
|
$response = $kernel->handle(
|
|
$request = Illuminate\Http\Request::capture()
|
|
);
|
|
|
|
$response->send();
|
|
|
|
$kernel->terminate($request, $response);
|