From f4adea3198f441663835ea4e45f622483adb444e Mon Sep 17 00:00:00 2001 From: icewing Date: Thu, 1 May 2008 12:13:20 +0000 Subject: Marcus Povey * Using mime types git-svn-id: https://code.elgg.org/elgg/trunk@591 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/file/start.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mod/file/start.php') diff --git a/mod/file/start.php b/mod/file/start.php index 98ee4ff46..3c5fbb80d 100644 --- a/mod/file/start.php +++ b/mod/file/start.php @@ -87,12 +87,13 @@ $tags = $file->getMetaData("tag"); if (!is_array($tags)) $tags = array($tags); - + // Draw file return elgg_view("file/file", array( "tags" => $tags, "title" => $file->title, - "description" => $file->description + "description" => $file->description, + "mime" => $file->getMimeType() )); } -- cgit v1.2.3