Revert "Using better way to check for active session"

This reverts commit 439a33c708.
This commit is contained in:
Larry E. Masters 2015-12-14 19:30:24 -06:00
parent 975262b03e
commit 464a266fc7

View file

@ -218,7 +218,7 @@ class CakeSession {
* @return bool True if session has been started.
*/
public static function started() {
return (session_status() === PHP_SESSION_ACTIVE);
return isset($_SESSION) && session_id();
}
/**