11 lines
241 B
PHP
11 lines
241 B
PHP
|
<?php
|
||
|
require '../config/function.php';
|
||
|
|
||
|
if(isset($_SESSION['auth'])) {
|
||
|
logoutSession();
|
||
|
redirect('../index.php', 'Erfolgreich abgemeldet', 'success');
|
||
|
}
|
||
|
else{
|
||
|
redirect('../index.php', 'Bitte melden Sie sich an', 'warning');
|
||
|
}
|
||
|
?>
|