add public index file
This commit is contained in:
parent
6b7ed94485
commit
0d0dabdcad
1 changed files with 13 additions and 0 deletions
13
public/index.php
Normal file
13
public/index.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
session_start([
|
||||
'cookie_httponly' => true,
|
||||
'cookie_secure' => !empty($_SERVER['HTTPS']),
|
||||
'cookie_samesite' => 'Lax',
|
||||
]);
|
||||
|
||||
require __DIR__.'/../vendor/autoload.php';
|
||||
|
||||
$app = require __DIR__.'/../bootstrap/app.php';
|
||||
|
||||
|
||||
$app->run();
|
||||
Loading…
Add table
Add a link
Reference in a new issue