This repository has been archived on 2023-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
web/app/core/Session.php
2022-01-20 22:23:21 +01:00

14 lines
256 B
PHP

<?php
// Handles anything to do with sessions
class Session
{
public function __construct()
{
// Start new session if there is none
if (session_status() === PHP_SESSION_NONE)
{
session_start();
}
}
}