Fix path in logout and fix notice.
git-svn-id: svn://10.0.0.236/trunk@188200 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
require_once('../../config.inc.php');
|
||||
require_once('../config.inc.php');
|
||||
require_once($config['base_path'].'/includes/iolib.inc.php');
|
||||
|
||||
// start the session
|
||||
@@ -48,7 +48,7 @@ printheaders();
|
||||
$_SESSION = array();
|
||||
session_destroy();
|
||||
|
||||
if($_SESSION['username']){
|
||||
if(isset($_SESSION['username'])){
|
||||
// not sure if this could ever happen, but just in case.
|
||||
echo 'Failed to logout';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user