mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/10572] Unguarded includes in acp files
PHPBB3-10572
This commit is contained in:
committed by
RMcGirr83
parent
1164cc38a2
commit
d003b53922
@@ -106,7 +106,10 @@ class acp_attachments
|
||||
{
|
||||
case 'attach':
|
||||
|
||||
include_once($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
|
||||
if (!function_exists('get_supported_image_types'))
|
||||
{
|
||||
include($phpbb_root_path . 'includes/functions_posting.' . $phpEx);
|
||||
}
|
||||
|
||||
$sql = 'SELECT group_name, cat_id
|
||||
FROM ' . EXTENSION_GROUPS_TABLE . '
|
||||
|
Reference in New Issue
Block a user