2014-05-14 13:21:55 +00:00
|
|
|
<?php
|
|
|
|
|
/**
|
|
|
|
|
* October - The PHP platform that gets back to basics.
|
|
|
|
|
*
|
|
|
|
|
* @package October
|
|
|
|
|
* @author Alexey Bobkov, Samuel Georges
|
|
|
|
|
*/
|
|
|
|
|
|
2020-01-20 06:33:14 +00:00
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
2020-02-27 09:01:10 +00:00
|
|
|
| Register composer
|
2020-01-20 06:33:14 +00:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
2020-02-27 09:01:10 +00:00
|
|
|
| Composer provides a generated class loader for the application.
|
2020-01-20 06:33:14 +00:00
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2020-01-20 07:11:38 +00:00
|
|
|
require __DIR__.'/bootstrap/autoload.php';
|
2014-05-14 13:21:55 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
2020-02-27 09:01:10 +00:00
|
|
|
| Load framework
|
2014-05-14 13:21:55 +00:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
2020-02-27 09:01:10 +00:00
|
|
|
| This bootstraps the framework and loads up this application.
|
2014-05-14 13:21:55 +00:00
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2015-02-04 08:31:41 +00:00
|
|
|
$app = require_once __DIR__.'/bootstrap/app.php';
|
2014-05-14 13:21:55 +00:00
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
2020-02-27 09:01:10 +00:00
|
|
|
| Process request
|
2014-05-14 13:21:55 +00:00
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
2020-02-27 09:01:10 +00:00
|
|
|
| Execute the request and send the response back to the client.
|
2014-05-14 13:21:55 +00:00
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
2021-03-11 10:16:57 +00:00
|
|
|
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');
|
2015-02-04 08:31:41 +00:00
|
|
|
|
|
|
|
|
$response = $kernel->handle(
|
|
|
|
|
$request = Illuminate\Http\Request::capture()
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
$response->send();
|
|
|
|
|
|
|
|
|
|
$kernel->terminate($request, $response);
|