correct access of static methods of MediaController
This commit is contained in:
parent
1d5722d745
commit
aec10338d4
1 changed files with 2 additions and 2 deletions
|
|
@ -161,12 +161,12 @@
|
||||||
$file = file_get_contents($media['filename']);
|
$file = file_get_contents($media['filename']);
|
||||||
break;
|
break;
|
||||||
case 'questgroup':
|
case 'questgroup':
|
||||||
if(!in_array(strtoupper($format), static::getImageTypes())) {
|
if(!in_array(strtoupper($format), self::getImageTypes())) {
|
||||||
$file = file_get_contents($media['filename']);
|
$file = file_get_contents($media['filename']);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$file = static::resizeImage(
|
$file = self::resizeImage(
|
||||||
$media['filename'],
|
$media['filename'],
|
||||||
$format,
|
$format,
|
||||||
480
|
480
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue