Warchamp7 Active member May 6, 2016 #1 As the title said, there are requests I don't want to make if the page is being served over https, so is there a variable I can check?
As the title said, there are requests I don't want to make if the page is being served over https, so is there a variable I can check?
Chris D XenForo developer Staff member May 6, 2016 #2 Yes: Code: <xen:if is="{$requestPaths.protocol} == 'https'"> // Secure <xen:else /> // Not secure </xen:if> Upvote 0 Downvote
Yes: Code: <xen:if is="{$requestPaths.protocol} == 'https'"> // Secure <xen:else /> // Not secure </xen:if>