[aur-dev] [PATCH] Fix login link
archlinux at cryptocrack.de
archlinux at cryptocrack.de
Wed Nov 19 09:23:37 UTC 2014
From: Lukas Fleischer <archlinux at cryptocrack.de>
Regression introduced in 76343fb (Use an INI-style configuration file,
2014-10-24).
Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
web/template/header.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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; ?>
--
2.1.3
More information about the aur-dev
mailing list