aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
Diffstat (limited to 'register.php')
-rw-r--r--register.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/register.php b/register.php
index d622d9bc4..c69741671 100644
--- a/register.php
+++ b/register.php
@@ -49,7 +49,7 @@ if (isset($_POST['submit']))
{
$user_id = get_userid($_POST['login']);
log_user( $user_id, false);
- redirect('category.php');
+ redirect(make_index_url());
}
}
@@ -74,7 +74,7 @@ $template->assign_vars(array(
'L_CONFIRM_PASSWORD' => $lang['reg_confirm'],
'L_EMAIL' => $lang['mail_address'],
- 'U_HOME' => PHPWG_ROOT_PATH.'category.php',
+ 'U_HOME' => make_index_url(),
'F_ACTION' => 'register.php',
'F_LOGIN' => $login,