mirror of
https://github.com/devcode-it/openstamanager.git
synced 2025-02-04 17:57:48 +01:00
Fix #521
This commit is contained in:
parent
1480ad6e19
commit
98bafc5ec0
@ -30,9 +30,6 @@ class FileManager implements ManagerInterface
|
||||
// ID del form
|
||||
$attachment_id = 'attachments_'.$options['id_module'].'_'.$options['id_plugin'];
|
||||
|
||||
// Cartella delle anteprime
|
||||
$directory = \Uploads::getDirectory($options['id_module'], $options['id_plugin']);
|
||||
|
||||
$dbo = database();
|
||||
|
||||
// Codice HTML
|
||||
@ -84,7 +81,7 @@ class FileManager implements ManagerInterface
|
||||
$result .= '
|
||||
<tr>
|
||||
<td align="left">
|
||||
<a href="'.ROOTDIR.'/'.$directory.'/'.$r['filename'].'" target="_blank">
|
||||
<a href="'.ROOTDIR.'/view.php?file_id='.$r['id'].'" target="_blank">
|
||||
<i class="fa fa-external-link"></i> '.$r['name'].'
|
||||
</a> ('.$file->extension.')'.'
|
||||
</td>
|
||||
|
Loading…
x
Reference in New Issue
Block a user