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/config.inc.php.proto | 3 +++ 1 file changed, 3 insertions(+) (limited to 'web/lib/config.inc.php.proto') diff --git a/web/lib/config.inc.php.proto b/web/lib/config.inc.php.proto index d1f1cd18..1f196514 100644 --- a/web/lib/config.inc.php.proto +++ b/web/lib/config.inc.php.proto @@ -49,3 +49,6 @@ $MAX_FILESIZE_UNCOMPRESSED = 1024 * 1024 * 8; # Allow HTTPs logins only $DISABLE_HTTP_LOGIN = true; + +# Web URL used in email links and absolute redirects, no trailing slash +$AUR_LOCATION = "http://localhost"; -- cgit v1.2.3-24-g4f1b