Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16769 | Rev 16979 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16769 Rev 16822
Línea 785... Línea 785...
785
                    $mime_type = mime_content_type($message_tmp_filename);
785
                    $mime_type = mime_content_type($message_tmp_filename);
Línea 786... Línea 786...
786
 
786
 
787
 
787
 
788
                    if ($mime_type == 'image/jpg' || $mime_type == 'image/jpeg' || $mime_type == 'image/png') {
788
                    if ($mime_type == 'image/jpg' || $mime_type == 'image/jpeg' || $mime_type == 'image/png') {
789
                        $type = Message::TYPE_IMAGE;
789
                        $type = Message::TYPE_IMAGE;
790
                    } else if ($mime_type == 'video/webm' || $mime_type == 'video/mpeg' || $mime_type == 'video/mpg' || $mime_type == 'video/mp4') {
790
                    } else if ($mime_type == 'video/quicktime' || $mime_type == 'video/webm' || $mime_type == 'video/mpeg' || $mime_type == 'video/mpg' || $mime_type == 'video/mp4') {
791
                        $type = Message::TYPE_VIDEO;
791
                        $type = Message::TYPE_VIDEO;
792
                    } else if ($mime_type == 'application/pdf') {
792
                    } else if ($mime_type == 'application/pdf') {
793
                        $type = Message::TYPE_DOCUMENT;
793
                        $type = Message::TYPE_DOCUMENT;