4 * http://opencaps.atrc.utoronto.ca
6 * Copyright 2009 Heidi Hazelton
7 * Adaptive Technology Resource Centre, University of Toronto
9 * Licensed under the Educational Community License (ECL), Version 2.0.
10 * You may not use this file except in compliance with this License.
11 * http://www.opensource.org/licenses/ecl2.php
15 define('INCLUDE_PATH', 'include/');
16 require(INCLUDE_PATH.'vitals.inc.php');
18 unset($_SESSION['login']);
19 unset($_SESSION['valid_user']);
20 unset($_SESSION['mid']);
21 unset($_SESSION['username']);
23 unset($_SESSION['is_admin']);
24 unset($_SESSION['errors']);
25 unset($_SESSION['notices']);
27 $_SESSION['feedback'][] = 'Successfully logged out.';
29 header('Location: index.php');