blessing-skin-server/index.php
2016-09-10 18:09:12 +08:00

25 lines
466 B
PHP
Executable File

<?php
/**
* Entrance of Blessing Skin Server
*
* @package Blessing Skin Server
* @author printempw <h@prinzeugen.net>
*/
define('BASE_DIR', __DIR__);
require BASE_DIR.'/bootstrap/autoload.php';
$app = require_once BASE_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);