Skip to content

Commit 93bf75e

Browse files
committed
tweak: remove static call
1 parent c2d4e37 commit 93bf75e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Middleware/RequestHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,8 @@ protected function handleHTMLDocumentViewModel():void {
293293
protected function handleSession():void {
294294
$sessionConfig = $this->config->getSection("session");
295295
$sessionId = $_COOKIE[$sessionConfig["name"]] ?? null;
296-
$sessionHandler = SessionSetup::attachHandler(
296+
$sessionSetup = new SessionSetup();
297+
$sessionHandler = $sessionSetup->attachHandler(
297298
$sessionConfig->getString("handler")
298299
);
299300

0 commit comments

Comments
 (0)