Changeset 928

Show
Ignore:
Timestamp:
01/29/06 17:42:33 (7 years ago)
Author:
max-horvath
Message:

"2006-01-29 Max Horvath <max.horvath@…>

  • the validation mail sent to new users now includes the full path to the WiFiDog installation (before it assumed WiFiDog to be installed in the document root of the webserver)"
Location:
trunk/wifidog-auth
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/CHANGELOG

    r927 r928  
    44          those PHP caches (I'm still investigating why) 
    55        * added a missing <ul> HTML tag on the administration page 
     6        * the validation mail sent to new users now includes the full path to the 
     7          WiFiDog installation (before it assumed WiFiDog to be installed in 
     8          the document root of the webserver) 
    69 
    7102006-01-25 Max Horváth <max.horvath@maxspot.de> 
  • trunk/wifidog-auth/wifidog/classes/User.php

    r915 r928  
    562562                $mail->setRecipientEmail($this->getEmail()); 
    563563                $mail->setMessageSubject($network->getName()._(" new user validation")); 
    564                 $url = "http://".$_SERVER["SERVER_NAME"]."/validate.php?user_id=".$this->getId()."&token=".$this->getValidationToken(); 
     564                $url = "http://" . WIFIDOG_ABS_FILE_PATH . "validate.php?user_id=".$this->getId()."&token=".$this->getValidationToken(); 
    565565                $mail->setMessageBody(_("Hello,\nPlease follow the link below to validate your account.\n").$url._("\n\nThank you,\nThe Team.")); 
    566566                $mail->send();