Changeset View
Changeset View
Standalone View
Standalone View
core/kernel/session/session.php
Show First 20 Lines • Show All 242 Lines • ▼ Show 20 Line(s) | |||||
$this->Storage = $this->Application->recallObject('SessionStorage.'.$special); | $this->Storage = $this->Application->recallObject('SessionStorage.'.$special); | ||||
$this->Storage->setSession($this); | $this->Storage->setSession($this); | ||||
} | } | ||||
public function Init($prefix, $special) | public function Init($prefix, $special) | ||||
{ | { | ||||
parent::Init($prefix, $special); | parent::Init($prefix, $special); | ||||
if ( php_sapi_name() == 'cli' ) { | |||||
$this->SetMode(self::smGET_ONLY); | |||||
} | |||||
$this->CheckIfCookiesAreOn(); | $this->CheckIfCookiesAreOn(); | ||||
$this->Checkers = Array(); | $this->Checkers = Array(); | ||||
$this->InitStorage($special); | $this->InitStorage($special); | ||||
$this->Data = new Params(); | $this->Data = new Params(); | ||||
$tmp_sid = $this->GetPassedSIDValue(); | $tmp_sid = $this->GetPassedSIDValue(); | ||||
▲ Show 20 Lines • Show All 870 Lines • Show Last 20 Lines |