Index: branches/5.0.x/core/kernel/session/session.php =================================================================== diff -u -N -r12592 -r12726 --- branches/5.0.x/core/kernel/session/session.php (.../session.php) (revision 12592) +++ branches/5.0.x/core/kernel/session/session.php (.../session.php) (revision 12726) @@ -1,6 +1,6 @@ Check(); - if ($this->Application->IsAdmin()) { + if ($this->Application->isAdmin) { // 1. Front-End session may not be created (SID is present, but no data in database). // Check expiration LATER from kApplication::Init, because template, used in session // expiration redirect should be retrieved from mod-rewrite url first. @@ -851,7 +851,7 @@ return true; } - if (!$force && !($this->Application->IsAdmin() || $this->Application->GetVar('admin')) && !$this->NeedSession()) { + if (!$force && !($this->Application->isAdmin || $this->Application->GetVar('admin')) && !$this->NeedSession()) { // don't create session (in db) on Front-End, when sid is present (GPC), but data in db isn't if ($this->_fromGet) { // set sid, that was given in GET @@ -887,7 +887,7 @@ $this->Storage->StoreSession($this); - if ($this->Application->IsAdmin() || $this->Special == 'admin') { + if ($this->Application->isAdmin || $this->Special == 'admin') { $this->StoreVar('admin', 1); } @@ -1092,7 +1092,7 @@ // save last_template in persistant session if (!$wid) { - if ($this->Application->IsAdmin()) { + if ($this->Application->isAdmin) { // only for main window, not popups, not login template, not temp mode (used in adm:MainFrameLink tag) $temp_mode = false; $passed = explode(',', $this->Application->GetVar('passed'));