Share » Forums » General » ez_templates: how can i detect the...

ez_templates: how can i detect the used protocol

ez_templates: how can i detect the used protocol

Friday 28 January 2011 4:26:14 am - 2 replies

Author Message

Stefan Eickhoff

Friday 28 January 2011 9:51:25 am

Hi cloud stone,

You could use the server template operator from the swark extension.

{if server('SERVER_PORT')|eq(443)}  
 HTTPS CONTEXT
{else}
 HTTP CONTEXT
{/if}

lg

Stefan

cloud stone

Tuesday 01 February 2011 5:09:23 am

thx,

good workaround!

for me, the tread is solved :)

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu