phpvms/public/index.php
2017-12-24 12:11:07 -06:00

29 lines
619 B
PHP
Executable File

<?php
/**
* phpVMS
*/
/**
* If you move the public folder, or all the files in the public
* folder, be sure to go into the bootstrap/app.php file, and change
* the 'path.public' path to where it lives.
*/
$path_to_phpvms_folder = __DIR__.'/../';
require $path_to_phpvms_folder.'/bootstrap/autoload.php';
$app = require_once $path_to_phpvms_folder.'/bootstrap/app.php';
$app->setPublicPath(__DIR__);
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
$response = $kernel->handle(
$request = Illuminate\Http\Request::capture()
);
$response->send();
$kernel->terminate($request, $response);