aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index d1f094c880..6d41f2b8c5 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -24,6 +24,16 @@
include('extension.inc');
include('common.'.$phpEx);
+//
+// Start session management
+//
+$userdata = session_pagestart($user_ip, PAGE_POSTING, $session_length);
+init_userprefs($userdata);
+//
+// End session management
+//
+
+
if($submit && !$preview)
{
switch($mode)