Skip to content

Commit

Permalink
fix #936 잘못 다룬 session_id() 고침
Browse files Browse the repository at this point in the history
  • Loading branch information
bnu committed Sep 3, 2014
1 parent 476d399 commit 56567bb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions classes/context/Context.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -321,11 +321,9 @@ function init()
array(&$oSessionController, 'open'), array(&$oSessionController, 'close'), array(&$oSessionModel, 'read'), array(&$oSessionController, 'write'), array(&$oSessionController, 'destroy'), array(&$oSessionController, 'gc')
);
}

if($sess = $_POST[session_name()]) session_id($sess);
session_start();
if($sess = $_POST[session_name()])
{
session_id($sess);
}

// set authentication information in Context and session
if(self::isInstalled())
Expand Down

0 comments on commit 56567bb

Please sign in to comment.