aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2004-12-20 22:03:04 +0000
committerplegall <plg@piwigo.org>2004-12-20 22:03:04 +0000
commit7543485ba84b14cf928184b5c7de40772fe3c04f (patch)
treefee9d958cbf341aff2a005f10a2db3180804a38e /index.php
parentc19f01d77c990962baef1906ac0ed60280324b77 (diff)
- 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
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');
?>