diff options
Diffstat (limited to '')
-rw-r--r-- | template/assemblies/header.phtml | 2 |
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> |