This commit is contained in:
@@ -33,9 +33,16 @@
|
||||
<th>첨부파일</th>
|
||||
<td colspan="5" style="min-height: 200px;">
|
||||
<div>
|
||||
<a href="<?= site_url('/board/notice/download/' . $files['file_sq']) ?>">
|
||||
<?= esc($files['orig_name']) ?>
|
||||
</a>
|
||||
<?php if ($files['cloud_upload_yn'] === "Y"): ?>
|
||||
<?php $link = NCLOUD_OBJECT_STORAGE_URL . $files['file_path'] . $files['file_name']; ?>
|
||||
<a href="<?= $link ?>" download="<?= $files['orig_name'] ?>">
|
||||
<?= esc($files['orig_name']) ?>
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<a href="<?= site_url('/board/notice/download/' . $files['file_sq']) ?>">
|
||||
<?= esc($files['orig_name']) ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user