mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
fixed table filemanager. Ticket #3435.
(cherry picked from commit 36bb76bebc92aaddfe26f6401504815b19de761f)
This commit is contained in:
parent
ba0c60ab9b
commit
9df12f7aca
@ -690,7 +690,13 @@ function filemanager_file_explorer($real_directory, $relative_directory,
|
||||
if (strstr($fileinfo['name'], '.txt') !== false) {
|
||||
$fileinfo['mime'] = MIME_TEXT;
|
||||
$data[0] = html_print_image ('images/mimetypes/text.png', true, array('title' => __('Text file')));
|
||||
}else{
|
||||
//unknow
|
||||
$data[0] = '';
|
||||
}
|
||||
}else{
|
||||
//pdf
|
||||
$data[0] = '';
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
Loading…
x
Reference in New Issue
Block a user