From 27bf79241161079d1d15f8fe1927682ec562835f Mon Sep 17 00:00:00 2001 From: Tom N Harris Date: Sat, 26 Sep 2009 01:17:46 +0200 Subject: Use all available icons for file links (FS#1759) All PNG and GIF images in the lib/images/fileicons directory will be used for media file links. The conf/mime.conf file continues to restrict which file types may be uploaded. File types not in the configuration list are download-only. darcs-hash:20090925231746-6942e-299a52772f67e265a8702bda3686f495e4337a8f.gz --- lib/exe/fetch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/exe/fetch.php') diff --git a/lib/exe/fetch.php b/lib/exe/fetch.php index 728b0b448..78c130081 100644 --- a/lib/exe/fetch.php +++ b/lib/exe/fetch.php @@ -26,7 +26,7 @@ $CACHE = calc_cache($_REQUEST['cache']); $WIDTH = (int) $_REQUEST['w']; $HEIGHT = (int) $_REQUEST['h']; - list($EXT,$MIME,$DL) = mimetype($MEDIA); + list($EXT,$MIME,$DL) = mimetype($MEDIA,false); if($EXT === false){ $EXT = 'unknown'; $MIME = 'application/octet-stream'; -- cgit v1.2.3