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