11 lines
202 B
PHP
11 lines
202 B
PHP
<?php
|
|
|
|
// Make sure we are called from index.php
|
|
if (!defined('SECURITY'))
|
|
die('Hacking attempt');
|
|
|
|
// This probably (?) never fails
|
|
$user->logoutUser();
|
|
header('Location: index.php?page=home');
|
|
?>
|