Search found 1 match

Page 1 of 1

Search found 1 match

Re: Forced SSL breaks CSS on SEO url's

This works for me:

Code: Select all

      if ($this->request->server['HTTPS']) {
            $server = 'https://'.$this->config->get('site_base');
      } else {
            $server = $this->config->get('config_url');
      }
Thus, no need to hardcode the actual domain in the code.

Jump to post
  • Sat May 28, 2016 11:34 pm
  • Replies 11
  • Views 9509

Page 1 of 1

Search found 1 match