mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-14 12:44:06 +02:00
[ticket/8672] Use fastImageSize in classes
PHPBB3-8672
This commit is contained in:
@@ -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');
|
||||
|
Reference in New Issue
Block a user