aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/index.php b/index.php
index e932fe6f9..f59fd9f8b 100644
--- a/index.php
+++ b/index.php
@@ -36,8 +36,5 @@ if ( $conf['access'] == 'restricted' )
else $url = 'category';
// redirection
$url.= '.php';
-header( 'Request-URI: '.$url );
-header( 'Content-Location: '.$url );
-header( 'Location: '.$url );
-exit();
+redirect( $url );
?>