diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2014-08-09 16:23:01 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2014-08-09 17:21:19 +0200 |
| commit | 9f873410469882cb202ec8bd4bebc956c163ae91 (patch) | |
| tree | 167a667faba8033f04ed2a5391f46ca9fecc1e02 /phpBB/phpbb | |
| parent | 56ca276dcf080972ad2c5ae411b37c392ffed24d (diff) | |
| download | forums-9f873410469882cb202ec8bd4bebc956c163ae91.tar forums-9f873410469882cb202ec8bd4bebc956c163ae91.tar.gz forums-9f873410469882cb202ec8bd4bebc956c163ae91.tar.bz2 forums-9f873410469882cb202ec8bd4bebc956c163ae91.tar.xz forums-9f873410469882cb202ec8bd4bebc956c163ae91.zip | |
[ticket/12949] Check if mime_content_type is actually callable
PHPBB3-12949
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/mimetype/content_guesser.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/mimetype/content_guesser.php b/phpBB/phpbb/mimetype/content_guesser.php index 9c83e8dd73..f3ad7f5f41 100644 --- a/phpBB/phpbb/mimetype/content_guesser.php +++ b/phpBB/phpbb/mimetype/content_guesser.php @@ -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'); } /** |
