Changeset 703 for trunk/Modules/User/User.php
- Timestamp:
- Oct 13, 2014, 9:22:57 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/User.php
r693 r703 379 379 $NewPassword = substr(sha1(strtoupper($Row['Login'])), 0, 7); 380 380 381 $ServerURL = 'http://'.$this->System->Config['Web']['Host'].$this-> Config['Web']['RootFolder'];381 $ServerURL = 'http://'.$this->System->Config['Web']['Host'].$this->System->Config['Web']['RootFolder']; 382 382 $Mail = new Mail(); 383 383 $Mail->Subject = 'Obnova hesla'; 384 $Mail->From = $this-> Config['Web']['Title'].' <noreplay@zdechov.net>';384 $Mail->From = $this->System->Config['Web']['Title'].' <noreplay@zdechov.net>'; 385 385 $Mail->AddTo($Row['Email'], $Row['Name']); 386 386 $Mail->AddBody('Požádali jste o zaslání nového hesla na serveru <a href="'.$ServerURL.'">'.$ServerURL.'"</a>.<br />\n'.
Note:
See TracChangeset
for help on using the changeset viewer.