diff --git a/classes/Controller.php b/classes/Controller.php index e1f2224..7d63c04 100644 --- a/classes/Controller.php +++ b/classes/Controller.php @@ -148,18 +148,6 @@ class Controller extends Object exit; } - // Establishes the session - if (ini_get('session.auto_start') == 0) - { - if ($module->session) - { - if (session_id() == '') - { - session_start(); - } - } - } - // Validates security level if ($module->security !== false) { diff --git a/classes/Security.php b/classes/Security.php index 3d662d2..2fe69f0 100644 --- a/classes/Security.php +++ b/classes/Security.php @@ -130,7 +130,6 @@ class Security { if (session_id() == '') { - throw new Exception('Sessions must be enabled to use the Security class'); return false; } else diff --git a/jar.php b/jar.php index a1ed6ff..e2a7826 100755 --- a/jar.php +++ b/jar.php @@ -1283,18 +1283,6 @@ class Controller extends Object exit; } - // Establishes the session - if (ini_get('session.auto_start') == 0) - { - if ($module->session) - { - if (session_id() == '') - { - session_start(); - } - } - } - // Validates security level if ($module->security !== false) { @@ -7093,7 +7081,6 @@ class Security { if (session_id() == '') { - throw new Exception('Sessions must be enabled to use the Security class'); return false; } else