Remove log informations registration
git-svn-id: http://piwigo.org/svn/trunk@104 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
5464ab212b
commit
36f30b1854
1 changed files with 2 additions and 8 deletions
|
|
@ -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 );
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue