aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--register.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/register.php b/register.php
index bfd2e5ef7..f6cb263c9 100644
--- a/register.php
+++ b/register.php
@@ -44,10 +44,7 @@ if ( isset( $_POST['submit'] ) )
{
$session_id = session_create( $_POST['login'] );
$url = 'category.php?id='.$session_id;
- header( 'Request-URI: '.$url );
- header( 'Content-Location: '.$url );
- header( 'Location: '.$url );
- exit();
+ redirect( $url );
}
}