/kunden/487218_45131/fashionlectures/vendor/rockettheme/toolbox/Session/src/Session.php
/**
* Starts the session storage
*
* @return $this
* @throws \RuntimeException
*/
public function start()
{
if (!session_start()) {
throw new \RuntimeException('Failed to start session.', 500);
}
$this->started = true;
return $this;
}
/**
* Get session ID
/kunden/487218_45131/fashionlectures/vendor/rockettheme/toolbox/Session/src/Session.php
/**
* Starts the session storage
*
* @return $this
* @throws \RuntimeException
*/
public function start()
{
if (!session_start()) {
throw new \RuntimeException('Failed to start session.', 500);
}
$this->started = true;
return $this;
}
/**
* Get session ID
/kunden/487218_45131/fashionlectures/system/src/Grav/Common/Session.php
$domain = $uri->host();
if ($domain == 'localhost') {
$domain = '';
}
$secure = $config->get('system.session.secure', false);
$httponly = $config->get('system.session.httponly', true);
$unique_identifier = GRAV_ROOT;
$this->setName($config->get('system.session.name', 'grav_site') . '-' . substr(md5($unique_identifier), 0, 7) . ($is_admin ? '-admin' : ''));
$this->start();
setcookie(session_name(), session_id(), time() + $session_timeout, $session_path, $domain, $secure, $httponly);
}
}
}
/kunden/487218_45131/fashionlectures/system/src/Grav/Common/Grav.php
}
// Initialize the timezone.
if ($this['config']->get('system.timezone')) {
date_default_timezone_set($this['config']->get('system.timezone'));
}
// Initialize uri, session.
$this['uri']->init();
$this['session']->init();
// Initialize Locale if set and configured.
if ($this['language']->enabled() && $this['config']->get('system.languages.override_locale')) {
setlocale(LC_ALL, $this['language']->getLanguage());
} elseif ($this['config']->get('system.default_locale')) {
setlocale(LC_ALL, $this['config']->get('system.default_locale'));
}
$debugger->stopTimer('init');
/kunden/487218_45131/fashionlectures/index.php
// Get the Grav instance
$grav = Grav::instance(
array(
'loader' => $loader
)
);
// Process the page
try {
$grav->process();
} catch (\Exception $e) {
$grav->fireEvent('onFatalException');
throw $e;
}