1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-20 07:21:30 +02:00

[ticket/12636] Add log.session_errors

PHPBB3-12636
This commit is contained in:
Rubén Calvo
2018-09-01 01:16:57 +02:00
parent 1c406c70e0
commit f93ddcb382
4 changed files with 16 additions and 1 deletions

View File

@@ -481,7 +481,7 @@ class session
else
{
// Added logging temporarily to help debug bugs...
if (defined('DEBUG') && $this->data['user_id'] != ANONYMOUS)
if ($phpbb_container->getParameter('log.session_errors') && $this->data['user_id'] != ANONYMOUS)
{
if ($referer_valid)
{