Remove log informations registration

git-svn-id: http://piwigo.org/svn/trunk@104 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
z0rglub
2003-09-14 16:12:27 +00:00
parent 5464ab212b
commit 36f30b1854

View File

@@ -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 );
?>