aboutsummaryrefslogtreecommitdiffstats
path: root/identification.php
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2003-09-14 16:12:27 +0000
committerz0rglub <z0rglub@piwigo.org>2003-09-14 16:12:27 +0000
commit36f30b1854038c0721ed0348bf4e05bbb5468bc8 (patch)
tree49727e362000fa1191be4a74a19d6ce31dd9cf84 /identification.php
parent5464ab212bfbf7009d45d6c0565ce42d03b6f2aa (diff)
Remove log informations registration
git-svn-id: http://piwigo.org/svn/trunk@104 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--identification.php10
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