aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php11
1 files changed, 1 insertions, 10 deletions
diff --git a/index.php b/index.php
index 8a94b9d18..426ed0513 100644
--- a/index.php
+++ b/index.php
@@ -25,16 +25,7 @@
// | USA. |
// +-----------------------------------------------------------------------+
-//----------------------------------------------------------- include
define('PHPWG_ROOT_PATH','./');
include_once( PHPWG_ROOT_PATH.'include/common.inc.php' );
-if ( $conf['access'] == 'restricted' )
-{
- if ( isset( $_COOKIE['id'] ) ) $url = 'category';
- else $url = 'identification';
-}
-else $url = 'category';
-// redirection
-$url.= '.php';
-redirect( $url );
+redirect('category.php');
?>