summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/index.php b/index.php
index 69a44ba..b6704ed 100644
--- a/index.php
+++ b/index.php
@@ -16,8 +16,7 @@ $gBitSystem->verifyPermission( 'p_articles_read' );
if( !empty( $_REQUEST['article_id'] ) ) {
$param = array ( 'article_id' => ( int )$_REQUEST['article_id'] );
- header( "Location: ".BitArticle::getDisplayUrlFromHash( $param ) );
- die;
+ bit_redirect( BitArticle::getDisplayUrlFromHash( $param ) );
}
// Display the template