2017-06-09 02:28:26 +08:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/**
|
2017-12-15 00:56:30 +08:00
|
|
|
* phpVMS
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2020-03-02 23:50:39 +08:00
|
|
|
* If you move the public folder, or all the files in the public folder,
|
|
|
|
* be sure to change this to point to the right place. View these docs:
|
|
|
|
*
|
|
|
|
* http://docs.phpvms.net/setup/installation/cpanel-setup
|
2017-06-09 02:28:26 +08:00
|
|
|
*/
|
2017-12-16 09:31:32 +08:00
|
|
|
$path_to_phpvms_folder = __DIR__.'/../';
|
|
|
|
|
|
|
|
require $path_to_phpvms_folder.'/bootstrap/autoload.php';
|
2017-06-09 02:28:26 +08:00
|
|
|
|
2017-12-16 09:31:32 +08:00
|
|
|
$app = require_once $path_to_phpvms_folder.'/bootstrap/app.php';
|
2017-12-17 15:03:19 +08:00
|
|
|
$app->setPublicPath(__DIR__);
|
|
|
|
|
2017-06-09 02:28:26 +08:00
|
|
|
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
|
|
|
|
|
|
|
|
$response = $kernel->handle(
|
|
|
|
$request = Illuminate\Http\Request::capture()
|
|
|
|
);
|
|
|
|
|
|
|
|
$response->send();
|
|
|
|
|
|
|
|
$kernel->terminate($request, $response);
|