For securities?
Code: Select all
// A dirty hack to try to set a cookie for the multi-store feature
$this->load->model('setting/store');
$this->data['stores'] = array();
if ($this->config->get('config_shared') && $status) {
$this->data['stores'][] = $server . 'catalog/view/javascript/crossdomain.php?session_id=' . $this->session->getId();
$stores = $this->model_setting_store->getStores();
foreach ($stores as $store) {
$this->data['stores'][] = $store['url'] . 'catalog/view/javascript/crossdomain.php?session_id=' . $this->session->getId();
}
}