From e5ffb52c535649f7ae9ed8834c7f9c2a009599cd Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Wed, 17 Feb 2016 09:37:13 +0900 Subject: [PATCH] Fix #284 Unable to save session in some environments --- classes/context/Context.class.php | 1 - index.php | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/context/Context.class.php b/classes/context/Context.class.php index 62b5d6ba2..1479efabe 100644 --- a/classes/context/Context.class.php +++ b/classes/context/Context.class.php @@ -334,7 +334,6 @@ class Context } ob_start(); - register_shutdown_function('Context::close'); // set authentication information in Context and session if(self::isInstalled()) diff --git a/index.php b/index.php index bb7000fb1..bd0e2d53b 100644 --- a/index.php +++ b/index.php @@ -59,5 +59,7 @@ if($oContext->checkSSO()) } } +Context::close(); + /* End of file index.php */ /* Location: ./index.php */