Code: Select all
$query = $this->db->query("SELECT * FROM " . DB_PREFIX . "store WHERE REPLACE(`ssl`, 'www.', '') = '" . $this->db->escape('https://' . str_replace('www.', '', $_SERVER['HTTP_HOST']) . rtrim(dirname($_SERVER['PHP_SELF']), '/.\\') . '/') . "'");
the essence of the problem lies in the fact that while on the 2nd domain, I still see the links of the first... and i see in controller startup.php it detects the wrong domain
P.S Opencart 3.0.3.2