diff options
Diffstat (limited to '')
-rw-r--r-- | identification.php | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/identification.php b/identification.php index a44cc8917..cf34195dc 100644 --- a/identification.php +++ b/identification.php @@ -95,13 +95,13 @@ else $vtp->closeSession( $handle, 'text_field' ); } //-------------------------------------------------------------- visit as guest -if ( $conf['acces'] == "libre" ) +if ( $conf['access'] == 'free' ) { $vtp->addSession( $handle, 'guest_visit' ); $vtp->closeSession( $handle, 'guest_visit' ); } //---------------------------------------------------------------- registration -if ( $conf['acces'] == "libre" ) +if ( $conf['access'] == 'free' ) { $vtp->addSession( $handle, 'register' ); $vtp->closeSession( $handle, 'register' ); @@ -109,10 +109,4 @@ if ( $conf['acces'] == "libre" ) //----------------------------------------------------------- html code display $code = $vtp->Display( $handle, 0 ); echo $code; -//------------------------------------------------------------ log informations -$query = 'insert into '.PREFIX_TABLE.'history'; -$query.= '(date,login,IP,page) values'; -$query.= "('".time()."', '".$user['pseudo']; -$query.= "','$REMOTE_ADDR','identification');"; -$result = mysql_query( $query ); ?>
\ No newline at end of file |