Код: Выделить всё
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions.php on line 3085: Undefined index: user_id
[phpBB Debug] PHP Notice: in file [ROOT]/includes/functions.php on line 3085: Undefined index: is_bot
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 3364: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:4634)
Код: Выделить всё
if($config['ppkbb_sape_enable'] && $config['ppkbb_sape_gsessions'])
{
global $user, $phpEx;
if($url!="./ucp.{$phpEx}" && ($user->data['user_id'] == ANONYMOUS || $user->data['is_bot']))
{
$session_id = false;
}
}