aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewtopic.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-04-15 14:14:56 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-04-15 14:14:56 +0000
commit7791a3126090aef74a00e0b85f3d7779819e75c3 (patch)
tree82821f4c3e9b4b7aa72a715a1c971900019cfc90 /phpBB/viewtopic.php
parente63c33bb2c82ad59dcc1e21c08041fc7a7973ef0 (diff)
downloadforums-7791a3126090aef74a00e0b85f3d7779819e75c3.tar
forums-7791a3126090aef74a00e0b85f3d7779819e75c3.tar.gz
forums-7791a3126090aef74a00e0b85f3d7779819e75c3.tar.bz2
forums-7791a3126090aef74a00e0b85f3d7779819e75c3.tar.xz
forums-7791a3126090aef74a00e0b85f3d7779819e75c3.zip
Session code updates
git-svn-id: file:///svn/phpbb/trunk@143 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r--phpBB/viewtopic.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php
index a88bb6b215..36b85407d9 100644
--- a/phpBB/viewtopic.php
+++ b/phpBB/viewtopic.php
@@ -60,6 +60,16 @@ $forum_row = $db->sql_fetchrowset($result);
$topic_title = $forum_row[0]["topic_title"];
$forum_id = $forum_row[0]["forum_id"];
$forum_name = stripslashes($forum_row[0]["forum_name"]);
+
+//
+// Start session management
+//
+$userdata = session_pagestart($user_ip, $forum_id, $session_length);
+init_userprefs($userdata);
+//
+// End session management
+//
+
for($x = 0; $x < $total_rows; $x++)
{
$moderators[] = array("user_id" => $forum_row[$x]["user_id"],