diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-04-07 16:19:36 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-04-24 13:33:14 +0200 |
commit | 39d6180c6814996dde84cfcd8c0150bba37354ac (patch) | |
tree | bf5bb1d69e0416a5d84ce6f76fdcee72605a80e4 /phpBB/includes/message_parser.php | |
parent | 3fc7a352ff308ff4b5a038e807a6f803572242d5 (diff) | |
download | forums-39d6180c6814996dde84cfcd8c0150bba37354ac.tar forums-39d6180c6814996dde84cfcd8c0150bba37354ac.tar.gz forums-39d6180c6814996dde84cfcd8c0150bba37354ac.tar.bz2 forums-39d6180c6814996dde84cfcd8c0150bba37354ac.tar.xz forums-39d6180c6814996dde84cfcd8c0150bba37354ac.zip |
[ticket/8672] Use fastImageSize in classes
PHPBB3-8672
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r-- | phpBB/includes/message_parser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php index 3d263748cb..bc53336a3f 100644 --- a/phpBB/includes/message_parser.php +++ b/phpBB/includes/message_parser.php @@ -339,8 +339,8 @@ class bbcode_firstpass extends bbcode if ($config['max_' . $this->mode . '_img_height'] || $config['max_' . $this->mode . '_img_width']) { - $imagesize = new \phpbb\upload\imagesize(); - $size_info = $imagesize->get_imagesize(htmlspecialchars_decode($in)); + $imagesize = new \fastImageSize\fastImageSize(); + $size_info = $imagesize->getImageSize(htmlspecialchars_decode($in)); if ($size_info === false) { |