Angemeldet bleiben
This commit is contained in:
@ -1,6 +1,11 @@
|
||||
<?php
|
||||
session_start(); //to ensure you are using same session
|
||||
session_destroy(); //destroy the session
|
||||
header("location:index.php"); //to redirect back to "index.php" after logging out
|
||||
echo "
|
||||
<form name='logout' action='../controller/admin_login.php' method='POST'<27>>
|
||||
<input type='hidden' name='function' value='logout'>
|
||||
</form>
|
||||
<script type='text/javascript'>
|
||||
document.logout.submit();
|
||||
</script>";
|
||||
|
||||
exit();
|
||||
?>
|
||||
|
Reference in New Issue
Block a user