aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-04-09 12:26:45 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-04-09 12:26:45 +0000
commitfc32df035889dd74f2cfc1c62bb793d36f333ec2 (patch)
tree12134eada004226d1ea5b31b420d1c63f05e7376 /phpBB/includes/session.php
parent0ba3f620d4afb963b89c532b664693c974ec4f8a (diff)
downloadforums-fc32df035889dd74f2cfc1c62bb793d36f333ec2.tar
forums-fc32df035889dd74f2cfc1c62bb793d36f333ec2.tar.gz
forums-fc32df035889dd74f2cfc1c62bb793d36f333ec2.tar.bz2
forums-fc32df035889dd74f2cfc1c62bb793d36f333ec2.tar.xz
forums-fc32df035889dd74f2cfc1c62bb793d36f333ec2.zip
- Documentation related changes
- added resend activation email dialog - fixed issue in session code - log failed/successful admin re-authentication/login - fixed simple forum dropdown box (used in mcp and posting) git-svn-id: file:///svn/phpbb/trunk@5114 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r--phpBB/includes/session.php41
1 files changed, 24 insertions, 17 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index d403fef745..d443e5bac1 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -1,16 +1,17 @@
<?php
-// -------------------------------------------------------------
-//
-// $Id$
-//
-// FILENAME : session.php
-// STARTED : Sat Dec 16, 2000
-// COPYRIGHT : © 2001, 2003 phpBB Group
-// WWW : http://www.phpbb.com/
-// LICENCE : GPL vs2.0 [ see /docs/COPYING ]
-//
-// -------------------------------------------------------------
-
+/**
+*
+* @package phpBB3
+* @version $Id$
+* @copyright (c) 2005 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+*
+*/
+
+/**
+* @package phpBB3
+* Session class
+*/
class session
{
var $session_id = '';
@@ -184,7 +185,7 @@ class session
$db->sql_freeresult($result);
// Check autologin request, is it valid?
- if ($this->data === false || ($this->data['user_password'] != $autologin && !$set_autologin) || ($this->data['user_type'] == USER_INACTIVE && !$bot))
+ if ($this->data === false || ($this->data['user_password'] !== $autologin && !$set_autologin) || ($this->data['user_type'] == USER_INACTIVE && !$bot))
{
$autologin = '';
$this->data['user_id'] = $user_id = ANONYMOUS;
@@ -475,8 +476,11 @@ class session
}
}
-// Contains (at present) basic user methods such as configuration
-// creating date/time ... keep this?
+/**
+* @package phpBB3
+* Contains (at present) basic user methods such as configuration
+* creating date/time ... keep this?
+*/
class user extends session
{
var $lang = array();
@@ -865,8 +869,11 @@ class user extends session
}
}
-// Will be keeping my eye of 'other products' to ensure these things don't
-// mysteriously appear elsewhere, think up your own solutions!
+/**
+* @package phpBB3
+* Will be keeping my eye of 'other products' to ensure these things don't
+* mysteriously appear elsewhere, think up your own solutions!
+*/
class auth
{
var $founder = false;