Rev 112 |
Mostrar el archivo completo |
|
|
Autoría |
Ultima modificación |
Ver Log
|
Rev 112 |
Rev 113 |
Línea 2340... |
Línea 2340... |
2340 |
|
2340 |
|
2341 |
|
2341 |
|
2342 |
$mime_type = mime_content_type($tmp_filename);
|
2342 |
$mime_type = mime_content_type($tmp_filename);
|
2343 |
if ($mime_type == 'image/jpg' || $mime_type == 'image/jpeg' || $mime_type == 'image/png') {
|
2343 |
if ($mime_type == 'image/jpg' || $mime_type == 'image/jpeg' || $mime_type == 'image/png') {
|
2344 |
$file_type = 'image';
|
2344 |
$file_type = 'image';
|
2345 |
} else if ($mime_type == 'video/quick-time' || $mime_type == 'video/webm' || $mime_type == 'video/mpeg' || $mime_type == 'video/mpg' || $mime_type == 'video/mp4') {
|
2345 |
} else if ($mime_type == 'video/quicktime' || $mime_type == 'video/webm' || $mime_type == 'video/mpeg' || $mime_type == 'video/mpg' || $mime_type == 'video/mp4') {
|
2346 |
$file_type = 'video';
|
2346 |
$file_type = 'video';
|
2347 |
} else if ($mime_type == 'application/pdf') {
|
2347 |
} else if ($mime_type == 'application/pdf') {
|