revert changes as Ralph required

maybe we find a different approach
This commit is contained in:
ak703 2005-03-21 15:30:13 +00:00
parent ca6e8858ec
commit ad291e1fa5

View File

@ -1719,16 +1719,6 @@
}
$viewable = array('','text/plain','text/csv','text/html','text/text');
//hack for powerpoint (NDEE 070804)
//manage some special mimetypes here
$extension = strstr($this->file,'.');
if($extension="ppt")
{
$mime_type="x-application/powerpoint";
}
// END
if(in_array($mime_type,$viewable) && !$_GET['download'])
{