Last change
on this file since 21 was
21,
checked in by z0rglub, 21 years ago
|
* empty log message *
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
File size:
528 bytes
|
Line | |
---|
1 | <?php |
---|
2 | define( PREFIX_INCLUDE, '' ); |
---|
3 | include_once( './include/functions.inc.php' ); |
---|
4 | database_connection(); |
---|
5 | // retrieving configuration informations |
---|
6 | $query = 'SELECT access'; |
---|
7 | $query.= ' FROM '.PREFIX_TABLE.'config;'; |
---|
8 | $row = mysql_fetch_array( mysql_query( $query ) ); |
---|
9 | if ( $row['access'] == 'restricted' ) $url = 'identification'; |
---|
10 | else $url = 'category'; |
---|
11 | // redirection |
---|
12 | $url.= '.php'; |
---|
13 | header( 'Request-URI: '.$url ); |
---|
14 | header( 'Content-Location: '.$url ); |
---|
15 | header( 'Location: '.$url ); |
---|
16 | exit(); |
---|
17 | ?> |
---|
Note: See
TracBrowser
for help on using the repository browser.