Skip to content

Commit 001b9a8

Browse files
author
Chris Gårdenberg
committed
register-session..
1 parent c448bb1 commit 001b9a8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

eduadmin.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737

3838
include_once("includes/loApiClient.php");
3939
function edu_register_session() {
40-
if(session_status() != PHP_SESSION_ACTIVE)
40+
$sess_Status = session_status();
41+
if($sess_Status != PHP_SESSION_DISABLED && $sess_Status != PHP_SESSION_ACTIVE)
4142
{
4243
if(!session_id())
4344
session_start();

0 commit comments

Comments
 (0)