aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2014-08-09 16:23:01 +0200
committerMarc Alexander <admin@m-a-styles.de>2014-08-09 17:21:19 +0200
commit9f873410469882cb202ec8bd4bebc956c163ae91 (patch)
tree167a667faba8033f04ed2a5391f46ca9fecc1e02 /phpBB/phpbb
parent56ca276dcf080972ad2c5ae411b37c392ffed24d (diff)
downloadforums-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.php2
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');
}
/**