extension not getting added properly - should now be solid
This commit is contained in:
@@ -126,7 +126,7 @@ class ProductPhotosController extends AppController
|
||||
throw new ForbiddenException('Failed to create the required folders. Please check the folder permissions and try again.');
|
||||
}
|
||||
}
|
||||
$destination = $fullPath . DS . $uuid;
|
||||
$destination = $fullPath . DS . $uuid . '.' . $ext;
|
||||
|
||||
// Existing files with the same name will be replaced.
|
||||
$photoObject->moveTo($destination);
|
||||
|
||||
Reference in New Issue
Block a user