diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-09-14 16:12:27 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-09-14 16:12:27 +0000 |
commit | 36f30b1854038c0721ed0348bf4e05bbb5468bc8 (patch) | |
tree | 49727e362000fa1191be4a74a19d6ce31dd9cf84 | |
parent | 5464ab212bfbf7009d45d6c0565ce42d03b6f2aa (diff) |
Remove log informations registration
git-svn-id: http://piwigo.org/svn/trunk@104 68402e56-0260-453c-a942-63ccdbb3a9ee
-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 |