Working state but no uploads
This commit is contained in:
@@ -4,12 +4,18 @@ declare(strict_types=1);
|
||||
require __DIR__.'/../vendor/autoload.php';
|
||||
|
||||
use App\Shared\Bootstrap;
|
||||
use App\Shared\Http\RequestContext;
|
||||
|
||||
$bootstrap = Bootstrap::create();
|
||||
$bootstrap->initializeInfrastructure();
|
||||
|
||||
$trustedProxies = RequestContext::trustedProxiesFromEnvironment($_ENV, $_SERVER);
|
||||
|
||||
session_start([
|
||||
'cookie_secure' => !empty($_SERVER['HTTPS']),
|
||||
'cookie_secure' => RequestContext::isHttps($_SERVER, $trustedProxies),
|
||||
'cookie_httponly' => true,
|
||||
'cookie_samesite' => 'Lax',
|
||||
]);
|
||||
|
||||
$app = Bootstrap::create()->initialize();
|
||||
$app = $bootstrap->createHttpApp();
|
||||
$app->run();
|
||||
|
||||
Reference in New Issue
Block a user