Redirect after logout
parent
c4ce814333
commit
d81e48fc12
|
@ -55,6 +55,7 @@ if ($handle = opendir('./plugins/')) {
|
||||||
|
|
||||||
if(isset($_REQUEST['logout']) && $_REQUEST['logout'] == '1') {
|
if(isset($_REQUEST['logout']) && $_REQUEST['logout'] == '1') {
|
||||||
$_SESSION = array();
|
$_SESSION = array();
|
||||||
|
header('Location: index.php');
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isset($_SESSION['LOGIN']) && $_SESSION['LOGIN'] == 'true') {
|
if(isset($_SESSION['LOGIN']) && $_SESSION['LOGIN'] == 'true') {
|
||||||
|
|
Loading…
Reference in New Issue