aboutsummaryrefslogtreecommitdiff
path: root/template/assemblies
diff options
context:
space:
mode:
authorMaZderMind2015-07-13 14:03:13 +0200
committerMaZderMind2015-07-13 14:03:13 +0200
commita3becf276c03ed21e7a3a5a18b8698a90dbe6fa3 (patch)
treef0a6a56794170abcc0a46a395a8b5cef4dd12c40 /template/assemblies
parentf581ebf00c7443c7b346b2085279fe60438e8954 (diff)
Prepare URLs in index
Diffstat (limited to '')
-rw-r--r--template/assemblies/header.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/assemblies/header.phtml b/template/assemblies/header.phtml
index 9043c82..68f4b6d 100644
--- a/template/assemblies/header.phtml
+++ b/template/assemblies/header.phtml
@@ -9,7 +9,7 @@
<div class="nav navbar-form navbar-right button-wrapper">
<? if(startswith('//', @$GLOBALS['CONFIG']['BASEURL'])): ?>
- <a class="form-control btn btn-ssl btn-<?= ssl() ? 'success' : 'warning' ?>" href="<?=h( (ssl() ? 'http:' : 'https:').$GLOBALS['CONFIG']['BASEURL'])?>">
+ <a class="form-control btn btn-ssl btn-<?= ssl() ? 'success' : 'warning' ?>" href="<?=h(ssl() ? $httpurl : $httpsurl)?>">
<span class="fa fa-<?= ssl() ? 'lock' : 'unlock-alt' ?>"></span>
TLS
</a>