20161230
sql delete replaced by delete flag log list (simple), log categories minor bug fixes in css
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
<?php
|
||||
|
||||
if ($from == 'coach') {
|
||||
$log_c = 'admin_logout';
|
||||
}
|
||||
elseif ($from == 'parent') {
|
||||
$log_c = 'kid_logout';
|
||||
|
||||
}
|
||||
log::register($log_c, $_COOKIE['badminton_'.$from.'_user']);
|
||||
setcookie('badminton_'.$from.'_user', 'null', time()-60*60*72, '/');
|
||||
unset($_COOKIE['badminton_'.$from.'_user']);
|
||||
header('Location: http://' . $_SERVER['HTTP_HOST']);
|
||||
|
||||
Reference in New Issue
Block a user