From e571a694d6e15891b591c28dd40cd464740a7126 Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 21 Oct 2011 15:15:55 -0500 Subject: Add a new AUR_LOCATION setting This should be set to something like 'http://localhost' for development or 'https://aur.archlinux.org' in production. It ensures all links in the site stay in the development site and there is no sudden jump from development to production environments. Signed-off-by: Dan McGee Signed-off-by: Lukas Fleischer --- web/lib/aur.inc.php | 1 + 1 file changed, 1 insertion(+) (limited to 'web/lib/aur.inc.php') diff --git a/web/lib/aur.inc.php b/web/lib/aur.inc.php index ed0920f..c662b80 100644 --- a/web/lib/aur.inc.php +++ b/web/lib/aur.inc.php @@ -281,6 +281,7 @@ function html_header($title="") { global $LANG; global $SUPPORTED_LANGS; global $DISABLE_HTTP_LOGIN; + global $AUR_LOCATION; if (!$DISABLE_HTTP_LOGIN || (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'])) { $login = try_login(); -- cgit v1.2.3-70-g09d2