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/phpbb/textformatter | |
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/phpbb/textformatter')
-rw-r--r-- | phpBB/phpbb/textformatter/s9e/parser.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/parser.php b/phpBB/phpbb/textformatter/s9e/parser.php index 0582f235e0..e46a0578d2 100644 --- a/phpBB/phpbb/textformatter/s9e/parser.php +++ b/phpBB/phpbb/textformatter/s9e/parser.php @@ -374,8 +374,8 @@ class parser implements \phpbb\textformatter\parser_interface if ($max_height || $max_width) { - $imagesize = new \phpbb\upload\imagesize(); - $size_info = $imagesize->get_imagesize($url); + $imagesize = new \fastImageSize\fastImageSize(); + $size_info = $imagesize->getImageSize($url); if ($size_info === false) { $logger->err('UNABLE_GET_IMAGE_SIZE'); |