Add an index page to the root pointing to the bootstrap dir

This commit is contained in:
Nabeel Shahzad
2017-12-17 01:03:19 -06:00
parent b2475720f2
commit 817d3262d4
4 changed files with 36 additions and 5 deletions

View File

@@ -19,6 +19,8 @@ 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(