diff options
Diffstat (limited to '')
-rw-r--r-- | include/user.inc.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/user.inc.php b/include/user.inc.php index e4cad9346..a02c50785 100644 --- a/include/user.inc.php +++ b/include/user.inc.php @@ -45,10 +45,7 @@ if ( !$conf['authorize_cookies'] and isset( $_COOKIE['id'] ) ) { setcookie( 'id', '', 0, cookie_path() ); $url = 'category.php'; - header( 'Request-URI: '.$url ); - header( 'Content-Location: '.$url ); - header( 'Location: '.$url ); - exit(); + redirect( $url ); } $user['has_cookie'] = false; |