mirror of
https://github.com/claradex/nativegallery.git
synced 2024-11-15 03:31:10 +03:00
fix(Upload): correct use of explode() function
This commit is contained in:
parent
3f7919116f
commit
2e8718fb3a
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class Upload
|
||||||
'type' => 'none',
|
'type' => 'none',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
} else if (explode($type, '/')[0] === 'image') {
|
} else if (explode('/', $type)[0] === 'image') {
|
||||||
|
|
||||||
|
|
||||||
$exif = new EXIF($_FILES['image']['tmp_name']);
|
$exif = new EXIF($_FILES['image']['tmp_name']);
|
||||||
|
|
Loading…
Reference in a new issue