mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
fix for displaying powerpoint in IE as requested many times
This commit is contained in:
parent
4610377a66
commit
78cd9ae4b6
@ -1719,6 +1719,16 @@
|
||||
}
|
||||
$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'])
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user