boinc/html/user/logout.php

19 lines
245 B
PHP
Raw Normal View History

<?php
include_once("../inc/db.inc");
include_once("../inc/util.inc");
session_start();
session_destroy();
if ($_COOKIE['auth']) {
setcookie('auth', "", time());
}
page_head("Logged out");
echo "You are now logged out";
page_tail();
?>