Update uploader.php
Usage of a symlink instead of copy the SVG-file
This commit is contained in:
parent
f355890757
commit
e25eefd8a8
@ -57,7 +57,7 @@ else {
|
||||
|
||||
//If it is a svg file, just save a copy in thumbnail-folder
|
||||
if (strcasecmp($fileExtension, 'svg') == 0) {
|
||||
copy(PATH_UPLOADS.$tmpName, PATH_UPLOADS_THUMBNAILS.$tmpName);
|
||||
symlink(PATH_UPLOADS.$tmpName, PATH_UPLOADS_THUMBNAILS.$tmpName);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user