diff --git a/classes/Env.class.php b/classes/Env.class.php index 33c3c5b..45c326c 100644 --- a/classes/Env.class.php +++ b/classes/Env.class.php @@ -33,6 +33,11 @@ final class Env { return isset($_SESSION[$var]) ? $_SESSION[$var] : $default; } + + static function setSession($var, $value) + { + $_SESSION[$var] = $value; + } static function getCookie($var, $default = false) {