diff options
author | Dan McGee <dan@archlinux.org> | 2011-10-21 22:15:55 +0200 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-11-02 21:21:23 +0100 |
commit | e571a694d6e15891b591c28dd40cd464740a7126 (patch) | |
tree | 22f52edb32653ba24ddf9ca5d1230b53a1968d4f /web/html | |
parent | fe90b4bc3e6b2a2a352236359577b3d46728aed6 (diff) | |
download | aur-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/html')
-rw-r--r-- | web/html/passreset.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/passreset.php b/web/html/passreset.php index 87be1b27..82be3ef4 100644 --- a/web/html/passreset.php +++ b/web/html/passreset.php @@ -67,7 +67,7 @@ if (isset($_GET['resetkey'], $_POST['email'], $_POST['password'], $_POST['confir 'your password follow the link below, otherwise ignore '. 'this message and nothing will happen.'). "\n\n". - 'https://aur.archlinux.org/passreset.php?'. + "{$AUR_LOCATION}/passreset.php?". "resetkey={$resetkey}"; $body = wordwrap($body, 70); $headers = "To: {$email}\nReply-to: nobody@archlinux.org\nFrom:aur-notify@archlinux.org\nX-Mailer: PHP\nX-MimeOLE: Produced By AUR"; |