Merge pull request #2346 from hafriedlander/fix/flush_when_secure

FIX flush when secure
This commit is contained in:
Sean Harvey 2013-08-20 15:35:00 -07:00
commit c461ed51d6

View File

@ -138,7 +138,7 @@ $chain
// Otherwise, we start up the session if needed, then check for admin
if (!$canFlush) {
if(!isset($_SESSION) && (isset($_COOKIE[session_name()]) || isset($_REQUEST[session_name()]))) {
if(!isset($_SESSION) && Session::request_contains_session_id()) {
Session::start();
}