Changeset 129


Ignore:
Timestamp:
Nov 17, 2007, 4:12:18 PM (17 years ago)
Author:
george
Message:

Oprava odkazu pro aktivaci nového hesla.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • minimanager/register.php

    r100 r129  
    306306        $body = str_replace("<password>", substr(sha1(strtoupper($user_name)),0,7), $body);
    307307        $body = str_replace("<activate_link>",
    308                 $_SERVER['HTTP_HOST']."register.php?action=do_pass_activate&amp;h=".$sql->result($result, 0, 'I')."&amp;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&amp;h=".$sql->result($result, 0, 'I')."&amp;p=".substr(sha1(strtoupper($user_name)),0,7), $body);
    309309        $body = str_replace("<base_url>", $_SERVER['HTTP_HOST'], $body);
    310310
Note: See TracChangeset for help on using the changeset viewer.