2016-08-28 10:05:21 +08:00
|
|
|
<?php
|
|
|
|
|
2016-12-17 13:06:36 +08:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Handle The Request
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Blessing Skin Server separated these codes here to ensure that
|
2016-12-17 17:07:41 +08:00
|
|
|
| runtime check at index.php will be executed correctly, since
|
|
|
|
| namespaced class names will cause parse error under PHP 5.3.
|
2016-12-17 13:06:36 +08:00
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2016-12-17 17:07:41 +08:00
|
|
|
$app = require_once __DIR__.'/app.php';
|
2016-08-28 10:05:21 +08:00
|
|
|
|
2016-12-17 13:06:36 +08:00
|
|
|
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
|
|
|
|
|
|
|
|
$response = $kernel->handle(
|
|
|
|
$request = Illuminate\Http\Request::capture()
|
|
|
|
);
|
|
|
|
|
|
|
|
$response->send();
|
2016-08-28 10:05:21 +08:00
|
|
|
|
2016-12-17 13:06:36 +08:00
|
|
|
$kernel->terminate($request, $response);
|