aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/session.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-11-20 18:58:34 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-11-20 18:58:34 +0000
commit0202eb8a66920b43d37582bbd205a25f68523150 (patch)
treeb3a4305900778053b729f15bcca1b244d2d510f8 /phpBB/includes/session.php
parent9f1f945d5d78f049bf44e0c6afb7eefeb549f406 (diff)
downloadforums-0202eb8a66920b43d37582bbd205a25f68523150.tar
forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.gz
forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.bz2
forums-0202eb8a66920b43d37582bbd205a25f68523150.tar.xz
forums-0202eb8a66920b43d37582bbd205a25f68523150.zip
- more acp additions and changes...
git-svn-id: file:///svn/phpbb/trunk@5310 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/session.php')
-rw-r--r--phpBB/includes/session.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/session.php b/phpBB/includes/session.php
index eaca6a4cb4..c1c6de36c9 100644
--- a/phpBB/includes/session.php
+++ b/phpBB/includes/session.php
@@ -463,7 +463,7 @@ class session
// Note: if the user is currently browsing the board, his
// last_visit field won't be updated, which I believe should be
// the normal behavior anyway
- $db->sql_return_on_error(TRUE);
+ $db->sql_return_on_error(true);
$sql = 'DELETE FROM ' . SESSIONS_TABLE . '
USING ' . SESSIONS_TABLE . ' s1, ' . SESSIONS_TABLE . ' s2
@@ -471,7 +471,7 @@ class session
AND s1.session_time < s2.session_time';
$db->sql_query($sql);
- $db->sql_return_on_error(FALSE);
+ $db->sql_return_on_error(false);
// Update last visit time
$sql = 'UPDATE ' . USERS_TABLE. ' u, ' . SESSIONS_TABLE . ' s
@@ -756,7 +756,7 @@ class user extends session
// We include common language file here to not load it every time a custom language file is included
$lang = &$this->lang;
- if ((@include $this->lang_path . "common.$phpEx") === FALSE)
+ if ((@include $this->lang_path . "common.$phpEx") === false)
{
die("Language file " . $this->lang_path . "common.$phpEx" . " couldn't be opened.");
}