My personal blog. https://blog.airikr.me
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

18 lines
253 B

<?php
require_once 'site-settings.php';
sql("UPDATE users
SET timestamp_lastactive = null
WHERE id = :_iduser
", Array(
'_iduser' => (int)$session_id
));
session_unset();
session_destroy();
header("Location: ".url(''));
exit;
?>