diff options
author | Zoddo <zoddo.ino@gmail.com> | 2015-10-27 16:45:14 +0100 |
---|---|---|
committer | Zoddo <zoddo.ino@gmail.com> | 2015-10-27 17:26:18 +0100 |
commit | 88dd8a4849915b3b5962118885b574a37e596a00 (patch) | |
tree | 2d00ceed2daafc375eec25c7a64fc7d0bd126fdd /phpBB/includes/functions.php | |
parent | 6a7567459d62c8c186c5b1b36dc5345e5d36461a (diff) | |
download | forums-88dd8a4849915b3b5962118885b574a37e596a00.tar forums-88dd8a4849915b3b5962118885b574a37e596a00.tar.gz forums-88dd8a4849915b3b5962118885b574a37e596a00.tar.bz2 forums-88dd8a4849915b3b5962118885b574a37e596a00.tar.xz forums-88dd8a4849915b3b5962118885b574a37e596a00.zip |
[ticket/14261] Move the update of session informations to page_footer()
Currently, the unique way to disable the update of session_page is to pass
"false" to the parameter of session_begin(). This method is directly
called in app.php, so pages served from the routing system can't disable
the update of session informations.
By moving the update to page_footer, we can allow controllers to tell to
the session manager that we don't want to update the session infos.
PHPBB3-14261
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 2d94bd14a7..bb1e47ecf7 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -5395,6 +5395,8 @@ function page_footer($run_cron = true, $display_template = true, $exit_handler = return; } + $user->update_session_infos(); + phpbb_check_and_display_sql_report($request, $auth, $db); $template->assign_vars(array( |