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:
robert%accettura.com
2006-01-26 01:27:43 +00:00
parent 9bbbb22a12
commit f8953bac47

View File

@@ -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 {