* fix for show image in file download page.

This commit is contained in:
wangyidong
2017-08-18 10:58:55 +08:00
parent 16af1cd290
commit 257a478940
+1 -3
View File
@@ -17,9 +17,7 @@
</div>
</div>
<?php if($fileType == 'image'):?>
<div id='imageFile'>
<?php echo html::image($file->webPath);?>
</div>
<div id='imageFile'><?php echo html::image($this->createLink('file', 'read', "fileID=$file->id"));?></div>
<?php else:?>
<div id='txtFile'>
<div>