mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Moved queue handling back to common ... forgot to introduce session start when error handling ... oopsie
git-svn-id: file:///svn/phpbb/trunk@4595 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
79469f244f
commit
28aaaf9d01
1 changed files with 4 additions and 1 deletions
|
@ -207,7 +207,10 @@ class messenger
|
||||||
|
|
||||||
function error($type, $msg)
|
function error($type, $msg)
|
||||||
{
|
{
|
||||||
global $phpEx, $phpbb_root_path;
|
global $user, $phpEx, $phpbb_root_path;
|
||||||
|
|
||||||
|
// Session doesn't exist, create it
|
||||||
|
$user->start();
|
||||||
|
|
||||||
include_once($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
|
include_once($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
|
||||||
add_log('critical', $type . '_ERROR', $msg);
|
add_log('critical', $type . '_ERROR', $msg);
|
||||||
|
|
Loading…
Add table
Reference in a new issue