summaryrefslogtreecommitdiff
path: root/web/template/header.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/header.php')
-rw-r--r--web/template/header.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/template/header.php b/web/template/header.php
index dd1d480..8bc3fd1 100644
--- a/web/template/header.php
+++ b/web/template/header.php
@@ -70,7 +70,7 @@
<?php else: ?>
<li><a href="<?= get_uri('/register/'); ?>"><?= __("Register"); ?></a></li>
<?php if (config_get_bool('options', 'disable_http_login') && empty($_SERVER['HTTPS'])): ?>
- <li><a href="<?= $AUR_LOCATION . get_uri('/login/'); ?>"><?= __("Login"); ?></a></li>
+ <li><a href="<?= aur_location() . get_uri('/login/'); ?>"><?= __("Login"); ?></a></li>
<?php else: ?>
<li><a href="<?= get_uri('/login/'); ?>"><?= __("Login"); ?></a></li>
<?php endif; ?>