mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
Remove log informations registration
git-svn-id: http://piwigo.org/svn/trunk@104 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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 );
|
||||
?>
|
||||
Reference in New Issue
Block a user