diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-05-17 10:49:14 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-05-17 10:49:14 +0000 |
commit | 8b044b0111a9a22066b82a33c28f956981819f55 (patch) | |
tree | c4ed5d300daf64788042b94681893e95b241e46c /identification.php | |
parent | b7b705f2685da04caa0be91debc2c66d279fddf5 (diff) |
*** empty log message ***
git-svn-id: http://piwigo.org/svn/trunk@10 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'identification.php')
-rw-r--r-- | identification.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/identification.php b/identification.php index ddbc2b932..5f10f106a 100644 --- a/identification.php +++ b/identification.php @@ -24,7 +24,7 @@ if ( isset( $_POST['login'] ) ) $i = 0; // retrieving the encrypted password of the login submitted $query = 'select password'; - $query.= ' from '.$prefixeTable.'users'; + $query.= ' from '.PREFIX_TABLE.'users'; $query.= " where username = '".$_POST['login']."';"; $row = mysql_fetch_array( mysql_query( $query ) ); if( $row['password'] == md5( $_POST['pass'] ) ) @@ -77,7 +77,7 @@ if ( sizeof( $error ) != 0 ) } //------------------------------------------------------------------ users list // retrieving all the users login -$query = 'select username from '.$prefixeTable.'users;'; +$query = 'select username from '.PREFIX_TABLE.'users;'; $result = mysql_query( $query ); if ( mysql_num_rows ( $result ) < $conf['max_user_listbox'] ) { @@ -114,7 +114,7 @@ if ( $conf['acces'] == "libre" ) $code = $vtp->Display( $handle, 0 ); echo $code; //------------------------------------------------------------ log informations -$query = 'insert into '.$prefixeTable.'history'; +$query = 'insert into '.PREFIX_TABLE.'history'; $query.= '(date,login,IP,page) values'; $query.= "('".time()."', '".$user['pseudo']; $query.= "','$REMOTE_ADDR','identification');"; |