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