This commit is contained in:
songchenxuan
2023-08-02 12:13:51 +08:00
parent 8cab7ed5a4
commit e6728caf6b
+2 -2
View File
@@ -183,8 +183,8 @@ function setFileName(fileID)
}
$downloadLink = $this->createLink('file', 'download', "fileID=$file->id");
$downloadLink .= strpos($downloadLink, '?') === false ? '?' : '&';
$downloadLink .= $sessionString;
//$downloadLink .= strpos($downloadLink, '?') === false ? '?' : '&';
//$downloadLink .= $sessionString;
echo "<li class='file' title='{$uploadDate}'>" . html::a($downloadLink, $fileTitle . " <span class='text-muted'>({$fileSize})</span>", '_blank', "id='fileTitle$file->id' onclick=\"return downloadFile($file->id, '$file->extension', $imageWidth, '$file->title')\"");
$objectType = zget($this->config->file->objectType, $file->objectType);