Browse Source

lol gotta love infinite recursion

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

8
App/Wrappers/SessionWrapper.php

@ -11,12 +11,12 @@ 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);
}
}
if(!isset($_SESSION[SessionElement::IS_LOGGED_IN->value]))
{
self::Set(SessionElement::IS_LOGGED_IN, false);
}
}
public static function Get(SessionElement $target): mixed

Loading…
Cancel
Save