Changeset 191
- Timestamp:
- Oct 11, 2003, 3:11:22 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r57 r191 7 7 * * 8 8 * $Id$ 9 * * 10 *************************************************************************** 11 12 /*************************************************************************** 13 * * 14 * This program is free software; you can redistribute it and/or modify * 15 * it under the terms of the GNU General Public License as published by * 16 * the Free Software Foundation; * 9 17 * * 10 18 ***************************************************************************/ … … 17 25 $query.= ' FROM '.PREFIX_TABLE.'config;'; 18 26 $row = mysql_fetch_array( mysql_query( $query ) ); 19 if ( $row['access'] == 'restricted' ) $url = 'identification'; 20 else $url = 'category'; 27 if ( $row['access'] == 'restricted' ) 28 { 29 if ( isset( $_COOKIE['id'] ) ) $url = 'category'; 30 else $url = 'identification'; 31 } 32 else $url = 'category'; 21 33 // redirection 22 34 $url.= '.php';
Note: See TracChangeset
for help on using the changeset viewer.