0, 'path' => '/', 'secure' => $config->bool('SESSION_SECURE', true), 'httponly' => true, 'samesite' => 'Lax']); if (!session_start()) { throw new RuntimeException('Session storage unavailable'); } $response = (new \FDMTech\Application($config))->handle($_SERVER, $_POST, $_SESSION); session_write_close(); $response->send(($_SERVER['REQUEST_METHOD'] ?? '') === 'HEAD'); } catch (Throwable $error) { error_log('FDMTech bootstrap failure [' . $error::class . ']'); (new \FDMTech\Response(503, 'Serwis niedostępny

Serwis jest chwilowo niedostępny

', ['Content-Type' => 'text/html; charset=UTF-8', 'Cache-Control' => 'no-store', 'Retry-After' => '60', 'Content-Security-Policy' => "default-src 'none'; frame-ancestors 'none'; base-uri 'none'", 'X-Robots-Tag' => 'noindex, nofollow'])) ->send(($_SERVER['REQUEST_METHOD'] ?? '') === 'HEAD'); }