Skip to content

Commit f2cc3a3

Browse files
authored
Check GD Extension is available or not
Check GD Extension is available or not
1 parent 92648b3 commit f2cc3a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FilesUploadAndImageResize.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function compressImage(string $sourceURL, string $destinationURL, int $mi
5454
try {
5555
//Check if GD extension is enable or not
5656
if (!extension_loaded('gd')) {
57-
return $this->param['gd_extension'][] = 'Check your php.ini file and enable or insatll GD extension'; //Extensions missing
57+
return $this->param['gd_extension'] = '[Files not moved] - Check your php.ini file and enable or insatll GD extension'; //Extensions missing
5858
exit;
5959
}
6060
if (!empty($waterMark)) {

0 commit comments

Comments
 (0)