Inital setup

This commit is contained in:
2026-09-05 11:52:25 +01:00
commit 539627366e
6 changed files with 250 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
function start_app_session(): void
{
if (session_status() === PHP_SESSION_ACTIVE) {
return;
}
session_set_cookie_params([
'lifetime' => 0,
'path' => '/',
'httponly' => true,
'samesite' => 'Strict',
]);
session_start();
}