blessing-skin-server/index.php

25 lines
466 B
PHP
Raw Normal View History

<?php
2016-08-28 10:05:21 +08:00
/**
2016-09-10 18:09:12 +08:00
* Entrance of Blessing Skin Server
2016-08-28 10:05:21 +08:00
*
2016-09-10 18:09:12 +08:00
* @package Blessing Skin Server
* @author printempw <h@prinzeugen.net>
*/
2016-02-10 15:20:13 +08:00
2016-07-21 22:01:57 +08:00
define('BASE_DIR', __DIR__);
2016-08-28 10:05:21 +08:00
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()
);
2016-07-21 22:01:57 +08:00
2016-08-28 10:05:21 +08:00
$response->send();
2016-07-24 14:56:22 +08:00
2016-08-28 10:05:21 +08:00
$kernel->terminate($request, $response);