blob: bea8122e7d6cb9bca647d3bb34dcdb736a5664a8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<?php
include_once( './include/mysql.inc.php' );
include_once( './include/functions.inc.php' );
database_connection();
// r�cup�ration des informations de configuration du site
$query = 'select acces ';
$query .= 'from '.$prefixeTable.'config;';
$row = mysql_fetch_array( mysql_query( $query ) );
$url = 'category';
if ( $row['acces'] == 'restreint' )
{
$url = 'identification';
}
// redirection
$url.= '.php';
header( 'Request-URI: '.$url );
header( 'Content-Location: '.$url );
header( 'Location: '.$url );
exit();
?>
|