**/ class oxsession_blatm extends oxsession_blatm_parent { public function start () { parent::start(); // check if blForceSessionStart is set to true in config.inc.php if ($this->_allowSessionStart() && !parent::_getCookieSid()) { $cfg = oxRegistry::getConfig(); $aRefs = [ 'http' => (isset($_SERVER['HTTP_REFERER']) && !empty($_SERVER['HTTP_REFERER'])) ? $_SERVER['HTTP_REFERER'] : '-', 'ref' => current(array_filter([ $cfg->getRequestParameter('ref'), $cfg->getRequestParameter('REF'), $cfg->getRequestParameter('utm_content') ])), 'subref' => $cfg->getRequestParameter('subref') ]; self::setVariable('bla_refs', $aRefs); } } }