mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 09:28:29 +01:00
revert changes as Ralph required
maybe we find a different approach
This commit is contained in:
parent
ca6e8858ec
commit
ad291e1fa5
@ -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'])
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user