1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/8672] Use fastImageSize in classes

PHPBB3-8672
This commit is contained in:
Marc Alexander
2015-04-07 16:19:36 +02:00
parent 3fc7a352ff
commit 39d6180c68
10 changed files with 18 additions and 18 deletions

View File

@@ -401,9 +401,9 @@ class filespec
$this->width = $this->height = 0;
// Get imagesize class
$imagesize = new \phpbb\upload\imagesize();
$imagesize = new \fastImageSize\fastImageSize();
$this->image_info = $imagesize->get_imagesize($this->destination_file, $this->mimetype);
$this->image_info = $imagesize->getImageSize($this->destination_file, $this->mimetype);
if ($this->image_info !== false)
{