aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Photo/PhotoGd.php
diff options
context:
space:
mode:
Diffstat (limited to 'Zotlabs/Photo/PhotoGd.php')
-rw-r--r--Zotlabs/Photo/PhotoGd.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Photo/PhotoGd.php b/Zotlabs/Photo/PhotoGd.php
index c54fa6a7d..6854be0ab 100644
--- a/Zotlabs/Photo/PhotoGd.php
+++ b/Zotlabs/Photo/PhotoGd.php
@@ -17,11 +17,11 @@ class PhotoGd extends PhotoDriver {
$t = [];
$t['image/jpeg'] = 'jpg';
- if(imagetypes() & IMG_PNG)
+ if(\imagetypes() & IMG_PNG)
$t['image/png'] = 'png';
- if(imagetypes() & IMG_GIF)
+ if(\imagetypes() & IMG_GIF)
$t['image/gif'] = 'gif';
- if(imagetypes() & IMG_WEBP)
+ if(\imagetypes() & IMG_WEBP)
$t['image/webp'] = 'webp';
return $t;