diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-11-19 10:20:31 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-11-19 10:20:31 +0100 |
commit | 27850943bbe443ab42c8f670a8c170df7b690f82 (patch) | |
tree | 6f42047556c867c32862307d4be02636863f67f2 /web | |
parent | aa4acc94050266986c036298268d8b6ee530b5c6 (diff) |
Fix login link
Regression introduced in 76343fb (Use an INI-style configuration file,
2014-10-24).
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web')
-rw-r--r-- | web/template/header.php | 2 |
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; ?> |