mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-07 08:05:25 +02:00
Merge branch 'develop-ascraeus' into develop
# By Marc Alexander # Via Dhruv Goel (1) and Marc Alexander (1) * develop-ascraeus: [ticket/12949] Check if mime_content_type is actually callable
This commit is contained in:
commit
ab2878b37b
@ -20,7 +20,7 @@ class content_guesser extends guesser_base
|
||||
*/
|
||||
public function is_supported()
|
||||
{
|
||||
return function_exists('mime_content_type');
|
||||
return function_exists('mime_content_type') && is_callable('mime_content_type');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user