Witam mam pewien problem ze stroną ponieważ jak wpisze adres bez "www" to strona działa a jak z "www" to wychodzą błędy
Chodzi o strone www.amnezja.net.pl i amnezja.net.pl
Poniżej kod od lini 270 w którym coś trzeba zmienić tylko nie wiem co
$this->registry->template->assign('SHOP_LOGO', $this->layer['photoid']);
$logo = '_images_frontend/core/logos/' . $this->layer['photoid'];
$path = DESIGNPATH . $logo;
$width = isset($size[0
]) ?
$size[0
] : 150; $height = isset($size[1
]) ?
$size[1
] : 100; $logoCss = "a.logo{float:left;width:{$width}px;height:{$height}px;text-indent:-999px;margin-top:25px;background: url('{$path}') no-repeat;}";
$this->registry->template->assign('logoCSS', $logoCss);
$this->registry->template->assign('FAVICON', $this->layer['favicon']);
$this->registry->template->assign('faceboookappid', $this->layer['faceboookappid']);
$this->registry->template->assign('enableregistration', $this->layer['enableregistration']);
$this->registry->template->assign('client', $client);
$this->registry->template->assign('clientdata', $client);
$this->registry->template->assign('showtax', $session->getActiveShowTax());
$this->registry->template->assign('currencySymbol', $session->getActiveCurrencySymbol());
$this->registry->template->assign('count', $cartModel->getProductAllCount());
$this->registry->template->assign('globalPrice', $cartModel->getGlobalPrice());
$this->registry->template->assign('productCart', $productCart);
$this->registry->template->assign('language', $session->getActiveLanguageId());
$this->registry->template->assign('languageCode', $session->getActiveLanguage());
$this->registry->template->assign('languageFlag', $languageModel->getLanguages());
$this->registry->template->assign('currencies', $languageModel->getAllCurrenciesForView());
$this->registry->template->assign('breadcrumb', App::getModel('breadcrumb')->getPageLinks());
$this->registry->template->assign('contentcategory', App::getModel('staticcontent')->getContentCategoriesTree());
$this->registry->template->assign('gacode', $this->layer['gacode']);
$this->registry->template->assign('gapages', $this->layer['gapages']);
$this->registry->template->assign('gatransactions', $this->layer['gatransactions']);
$this->registry->template->assign('enablerating', $this->layer['enablerating']);
$this->registry->template->assign('enableopinions', $this->layer['enableopinions']);
$this->registry->template->assign('enabletags', $this->layer['enabletags']);
$this->registry->template->assign('confirmorder', $this->layer['confirmorder']);
$this->registry->template->assign('enablerss', $this->layer['enablerss']);
$this->registry->template->assign('catalogmode', $this->layer['catalogmode']);
$this->registry->template->assign('cartpreview', $cartModel->getCartPreviewTemplate());
if ($this->layer['cartredirect'] != ''){
$this->registry->template->assign('cartredirect', App::getURLAdress() . App::getRegistry()->core->getControllerNameForSeo($this->layer['cartredirect']));
}