Camen Design Forum

http and https?


I just switched my forum over to HTTPS and am having trouble with the fonts working properly now. I'm substituting the forum's default fonts with Google fonts using this:

<link href=',700|Oswald' rel='stylesheet' type='text/css'>

It works with HTTP but not with HTTPS now.


First I went into `config.php' and changed the following: (false to true)

@define ('FORUM_HTTPS',         true);

That didn't work. Fonts still not loading.

Then in `start.php` I tried to change this (to no avail):

//the full URL of the site is dependent on HTTPS configuration, so we wait until now to define it
define ('FORUM_URL', 'https'.                                    //base URL to produce hyperlinks throughout:
        (FORUM_HTTPS || @$_SERVER['HTTPS'] == 'on' ? 's' : ''). //- if HTTPS is enforced, links in RSS will use it

Any thoughts?

:: @cruft added on 27 Jun ’15 · 14:32

It's as simple as changing HTTP to HTTPS in the following:

<link href=',700|Oswald' rel='stylesheet' type='text/css'>



(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn