lithium\storage\session\adapter\Php::_init()
Initialization of the session.
Source
protected function _init() {
if ($this->isStarted()) {
return true;
}
$config = $this->_config;
unset($config['adapter'], $config['strategies'], $config['filters'], $config['init']);
foreach ($config as $key => $value) {
if (strpos($key, 'session.') === false) {
continue;
}
if (ini_set($key, $value) === false) {
throw new ConfigException('Could not initialize the session.');
}
}
}