mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fixed formatting
This commit is contained in:
parent
7f64ea37f9
commit
61eddc6bde
1 changed files with 5 additions and 5 deletions
|
@ -139,7 +139,7 @@ class CakeSession {
|
|||
*
|
||||
* @var bool
|
||||
*/
|
||||
protected static $_isCLI = false;
|
||||
protected static $_isCLI = false;
|
||||
|
||||
/**
|
||||
* Pseudo constructor.
|
||||
|
@ -605,10 +605,10 @@ class CakeSession {
|
|||
*/
|
||||
protected static function _hasSession() {
|
||||
return static::started()
|
||||
|| !ini_get('session.use_cookies')
|
||||
|| isset($_COOKIE[static::_cookieName()])
|
||||
|| static::$_isCLI
|
||||
|| (ini_get('session.use_trans_sid') && isset($_GET[session_name()]));
|
||||
|| !ini_get('session.use_cookies')
|
||||
|| isset($_COOKIE[static::_cookieName()])
|
||||
|| static::$_isCLI
|
||||
|| (ini_get('session.use_trans_sid') && isset($_GET[session_name()]));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue