mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-28 12:30:42 +02:00
add a little bit more information for style authors
ease the jumpbox handling a little bit git-svn-id: file:///svn/phpbb/trunk@4870 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -503,20 +503,6 @@ function create_thumbnail($source, $new_file, $mimetype)
|
||||
return true;
|
||||
}
|
||||
|
||||
// Check if extension is allowed to be posted within forum X
|
||||
function extension_allowed($forum_id, $extension)
|
||||
{
|
||||
global $extensions;
|
||||
|
||||
if (!isset($extensions) || !is_array($extensions))
|
||||
{
|
||||
$extensions = array();
|
||||
obtain_attach_extensions($extensions);
|
||||
}
|
||||
|
||||
return (is_array($extensions['_allowed_'][$extension]) && !in_array($forum_id, $extensions['_allowed_'][$extension])) || !isset($extensions['_allowed_'][$extension]);
|
||||
}
|
||||
|
||||
//
|
||||
// TODO
|
||||
//
|
||||
|
Reference in New Issue
Block a user