summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Fleischer <archlinux@cryptocrack.de>2014-11-19 10:20:31 +0100
committerLukas Fleischer <archlinux@cryptocrack.de>2014-11-19 10:20:31 +0100
commit27850943bbe443ab42c8f670a8c170df7b690f82 (patch)
tree6f42047556c867c32862307d4be02636863f67f2
parentaa4acc94050266986c036298268d8b6ee530b5c6 (diff)
downloadaurweb-27850943bbe443ab42c8f670a8c170df7b690f82.tar.xz
Fix login link
Regression introduced in 76343fb (Use an INI-style configuration file, 2014-10-24). Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
-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; ?>