mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 01:06:48 +02:00
#s29325
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8661 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1124,6 +1124,14 @@ class session
|
||||
// To circumvent session_begin returning a valid value and the check_ban() not called on second page view, we kill the session again
|
||||
$this->session_kill(false);
|
||||
|
||||
// A very special case... we are within the cron script which is not supposed to print out the ban message... show blank page
|
||||
if (defined('IN_CRON'))
|
||||
{
|
||||
garbage_collection();
|
||||
exit_handler();
|
||||
exit;
|
||||
}
|
||||
|
||||
trigger_error($message);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user