summaryrefslogtreecommitdiffstats
path: root/web/lib/config.inc.php.proto
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-10-21 22:15:55 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2011-11-02 21:21:23 +0100
commite571a694d6e15891b591c28dd40cd464740a7126 (patch)
tree22f52edb32653ba24ddf9ca5d1230b53a1968d4f /web/lib/config.inc.php.proto
parentfe90b4bc3e6b2a2a352236359577b3d46728aed6 (diff)
downloadaur-e571a694d6e15891b591c28dd40cd464740a7126.tar.gz
aur-e571a694d6e15891b591c28dd40cd464740a7126.tar.xz
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 <dan@archlinux.org> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/lib/config.inc.php.proto')
-rw-r--r--web/lib/config.inc.php.proto3
1 files changed, 3 insertions, 0 deletions
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";