From 7543485ba84b14cf928184b5c7de40772fe3c04f Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 20 Dec 2004 22:03:04 +0000 Subject: - restricted access mode deleted : set all your categories as private instead git-svn-id: http://piwigo.org/svn/trunk@651 68402e56-0260-453c-a942-63ccdbb3a9ee --- index.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'index.php') 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'); ?> -- cgit v1.2.3