Changeset 129
- Timestamp:
- Nov 17, 2007, 4:12:18 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
minimanager/register.php
r100 r129 306 306 $body = str_replace("<password>", substr(sha1(strtoupper($user_name)),0,7), $body); 307 307 $body = str_replace("<activate_link>", 308 $_SERVER['HTTP_HOST']. "register.php?action=do_pass_activate&h=".$sql->result($result, 0, 'I')."&p=".substr(sha1(strtoupper($user_name)),0,7), $body);308 $_SERVER['HTTP_HOST'].substr($_SERVER["SCRIPT_NAME"], 0, strrpos($_SERVER["SCRIPT_NAME"], '/'))."register.php?action=do_pass_activate&h=".$sql->result($result, 0, 'I')."&p=".substr(sha1(strtoupper($user_name)),0,7), $body); 309 309 $body = str_replace("<base_url>", $_SERVER['HTTP_HOST'], $body); 310 310
Note:
See TracChangeset
for help on using the changeset viewer.