Browse Source

lol gotta love infinite recursion

master
Cerys 4 weeks ago
parent
commit
5e99e31070
  1. 4
      App/Wrappers/SessionWrapper.php

4
App/Wrappers/SessionWrapper.php

@ -11,14 +11,14 @@ class SessionWrapper
if (session_status() == PHP_SESSION_NONE)
{
session_start();
}
if(!isset($_SESSION[SessionElement::IS_LOGGED_IN->value]))
{
self::Set(SessionElement::IS_LOGGED_IN, false);
}
}
}
public static function Get(SessionElement $target): mixed
{
self::Start();

Loading…
Cancel
Save