2
0
forked from Wavyzz/dolibarr

Ajout DOL_URL_ROOT dans l'url envoye avec le mot de pass

This commit is contained in:
Rodolphe Quiedeville
2003-11-07 08:44:01 +00:00
parent 99a90aa4f0
commit 6ca81d8892

View File

@@ -629,7 +629,7 @@ class User
if ($this->db->affected_rows())
{
$mesg = "Login : $this->login\nMot de passe : $password\n";
$mesg .= "URL : http://". $GLOBALS["HTTP_HOST"];
$mesg .= "URL : http://". $GLOBALS["HTTP_HOST"] . "/" . DOL_URL_ROOT;
if (mail($this->email, "Mot de passe Dolibarr", $mesg))
{
return 1;