fix absolute symlink for svg
This commit is contained in:
parent
3c02c86498
commit
a39c8e25f4
1 changed files with 1 additions and 1 deletions
|
@ -933,7 +933,7 @@ function transformImage($file, $imageDir, $thumbnailDir = false)
|
|||
// Generate Thumbnail
|
||||
if (!empty($thumbnailDir)) {
|
||||
if (($fileExtension == 'svg')) {
|
||||
Filesystem::symlink($image, $thumbnailDir . $nextFilename);
|
||||
Filesystem::symlink('..'.DS.$nextFilename, $thumbnailDir . $nextFilename);
|
||||
} else {
|
||||
$Image = new Image();
|
||||
$Image->setImage($image, $site->thumbnailWidth(), $site->thumbnailHeight(), 'crop');
|
||||
|
|
Loading…
Reference in a new issue