Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cannot call unset with the return value of a function
git-svn-id: https://xerteonlinetoolkits.googlecode.com/svn/trunk@97 912cdd6b-5c7d-d5a7-a2ba-d0f0cdb91641
- Loading branch information
Dave Goodwin
committed
Sep 28, 2011
1 parent
c6a5238
commit c96dce9
Showing
1 changed file
with
12 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,15 @@ | ||
<?PHP | ||
|
||
/** | ||
* | ||
* logout page, user has logged out, wipe sessions | ||
* | ||
* @author Patrick Lockley | ||
* @version 1.0 | ||
* @copyright Copyright (c) 2008,2009 University of Nottingham | ||
* @package | ||
*/ | ||
|
||
require("../../config.php"); | ||
<?php | ||
|
||
unset(session_id()); | ||
/** | ||
* | ||
* logout page, user has logged out, wipe sessions | ||
* | ||
* @author Patrick Lockley | ||
* @version 1.0 | ||
* @copyright Copyright (c) 2008,2009 University of Nottingham | ||
* @package | ||
*/ | ||
|
||
session_destroy(); | ||
require_once(dirname(__FILE__) . '/../../config.php'); | ||
|
||
?> | ||
session_destroy(); |