Code: Select all
else if($forum_id == 'kb')
{
// We are checking for the knowledge base, therefore we only need to get the kb extensions...
$return = array('_allowed_' => array());
foreach ($extensions['_allowed_kb'] as $extension => $check)
{
$return['_allowed_'][$extension] = 0;
$return[$extension] = $extensions[$extension];
}
$extensions = $return;
}
else if($forum_id == 'kb')
to else if($forum_id == 'library')
?$in_kb = request_var('kb', false);
to $in_kb = request_var('library', false);
?$cache->obtain_attach_extensions('kb')
Do all occurrences of this code have to change to $cache->obtain_attach_extensions('library')
?Code: Select all
[phpBB Debug] PHP Notice: in file /includes/functions_display.php on line 1418: Missing argument 6 for get_user_rank(), called in /includes/kb.php on line 798 and defined
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4709: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3712)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4711: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3712)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4712: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3712)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4713: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3712)