diff --git a/filemanager/inc/class.uifilemanager.inc.php b/filemanager/inc/class.uifilemanager.inc.php index 6d0d763f8c..9f40e3ef48 100755 --- a/filemanager/inc/class.uifilemanager.inc.php +++ b/filemanager/inc/class.uifilemanager.inc.php @@ -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']) {