force users to log out where they should not be logged in
parent
14aea7dbe4
commit
ddbe70654e
|
@ -1,8 +1,7 @@
|
|||
<?php
|
||||
if (isset($_SESSION['user_id'])){
|
||||
$login = true;
|
||||
} else {
|
||||
if (!isset($login)){
|
||||
$login=false;
|
||||
%FORCE_LOGOUT%
|
||||
}
|
||||
?>
|
||||
|
||||
|
|
Loading…
Reference in New Issue