mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-22 06:13:58 -07:00
Using constant links 2
Использование заранее определенных констант для ссылок Небольшая правка
This commit is contained in:
parent
dce994f613
commit
d4be38e088
2 changed files with 2 additions and 2 deletions
|
@ -202,7 +202,7 @@ if ($result = DB()->fetch_rowset($sql))
|
|||
'PM' => $pm,
|
||||
'EMAIL' => $email,
|
||||
'WWW' => $www,
|
||||
'U_VIEWPROFILE' => "profile.php?mode=viewprofile&". POST_USERS_URL ."=$user_id",
|
||||
'U_VIEWPROFILE' => PROFILE_URL . $user_id,
|
||||
));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -68,7 +68,7 @@ if (!$is_auth['auth_view'])
|
|||
{
|
||||
if (IS_GUEST)
|
||||
{
|
||||
$redirect .= ($start) ? "&start=$start" : '';
|
||||
$redirect = ($start) ? "&start=$start" : '';
|
||||
redirect(LOGIN_URL . "?redirect=". FORUM_URL . $forum_id ."&$redirect");
|
||||
}
|
||||
// The user is not authed to read this forum ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue