From 36f30b1854038c0721ed0348bf4e05bbb5468bc8 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Sun, 14 Sep 2003 16:12:27 +0000 Subject: Remove log informations registration git-svn-id: http://piwigo.org/svn/trunk@104 68402e56-0260-453c-a942-63ccdbb3a9ee --- identification.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'identification.php') 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 -- cgit v1.2.3