is_ssl() operator

UNIX name Owner Status
is_ssl Björn X stable
Version Compatible with
x any
To avoid the problem of not knowing weather to use http or https for remote urls

!! functionality should exists in kernel / $sys->attributes->is_sqlnow !!

Example (include external tracking js file):
{if is_ssl()}
<script src="https://ssl.google-analytics.com/urchin.js" type="text/javascript">
</script>
{else}
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
{/if}

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.