set the cookie early by getting the Singleton object
This commit is contained in:
parent
b5b13bbf97
commit
4970271796
|
@ -15,6 +15,8 @@ require_once("lassospkit_datadir.inc.php");
|
|||
LassoSPKitUtilsSession::$cookiename = LassoSPKitConfig::get('cookiename');
|
||||
if (LassoSPKitUtilsSession::$use_session) {
|
||||
session_start();
|
||||
} else {
|
||||
LassoSPKitUtilsSession::getSingleton();
|
||||
}
|
||||
class LassoSPKitUtilsSession {
|
||||
private static $key = "__LassoSPKitSessionObject";
|
||||
|
|
Reference in New Issue