2009-09-15 04:48:08 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
require_once("../inc/util_ops.inc");
|
|
|
|
|
|
|
|
$user = get_logged_in_user_ops();
|
|
|
|
if ($user) {
|
|
|
|
clear_cookie('auth', true);
|
2013-12-24 05:02:55 +00:00
|
|
|
header("Location: index.php");
|
2009-09-15 04:48:08 +00:00
|
|
|
admin_page_head("Logged out");
|
2013-12-24 05:02:55 +00:00
|
|
|
echo "You are now logged out";
|
2009-09-15 04:48:08 +00:00
|
|
|
admin_page_tail();
|
|
|
|
} else {
|
2011-07-12 05:19:15 +00:00
|
|
|
admin_error_page("not logged in");
|
2009-09-15 04:48:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|