extension not getting added properly - should now be solid
This commit is contained in:
parent
4ffafb781d
commit
46e8712161
|
|
@ -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.');
|
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.
|
// Existing files with the same name will be replaced.
|
||||||
$photoObject->moveTo($destination);
|
$photoObject->moveTo($destination);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue