diff --git a/GameEngine/Mailer.php b/GameEngine/Mailer.php index 88b7788..d390f3c 100644 --- a/GameEngine/Mailer.php +++ b/GameEngine/Mailer.php @@ -27,7 +27,7 @@ function sendActivate($email,$username,$pass,$act) { ---------------------------- Click the following link in order to activate your account: -".SERVER."activate.php?code=".$act." +http://${_SERVER['HTTP_HOST']}/activate.php?code=$act Greetings, TravianX";