Project

General

Profile

« Previous | Next » 

Revision 1066

Added by Matthias almost 15 years ago

changed in class_login.php mktime() to time()

View differences:

class.login.php
258 258
			}	
259 259

  
260 260
			// Update the users table with current ip and timestamp
261
			$get_ts = mktime();
261
			$get_ts = time();
262 262
			$get_ip = $_SERVER['REMOTE_ADDR'];
263 263
			$query = "UPDATE ".$this->USERS_TABLE." SET login_when = '$get_ts', login_ip = '$get_ip' WHERE user_id = '$user_id'";
264 264
			$database->query($query);

Also available in: Unified diff