Changeset 916 for pro-violet-viettel/www/deploy/api/platform/modules
- Timestamp:
- May 7, 2015 4:15:16 PM (10 years ago)
- Location:
- pro-violet-viettel/www/deploy/api/platform/modules/space
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/www/deploy/api/platform/modules/space/actions/actions.class.php
r913 r916 473 473 $ext = pathinfo($fileUrl, PATHINFO_EXTENSION); 474 474 $thumbnail = ""; 475 if (in_array(strtolower($ext), array("jpg", "jpeg", "png", "gif" , "tiff", "dvg", "bmp"))) {476 $thumbnail=violetUtil::createThumb($filePath);475 if (in_array(strtolower($ext), array("jpg", "jpeg", "png", "gif"/* , "tiff", "dvg", "bmp" */))) { 476 $thumbnail=violetUtil::createThumb($filePath); 477 477 } 478 478 if (file_exists("previews/$userId/" . $tblfile->getFileId() . "/0.png")) { -
pro-violet-viettel/www/deploy/api/platform/modules/space/templates/dirSuccess.php
r913 r916 32 32 $filePath=""; 33 33 $thumbnail=""; 34 if (in_array($ext, array("jpg","png","jpeg"," bmp","gif")))34 if (in_array($ext, array("jpg","png","jpeg","gif"))) 35 35 { 36 36 $names = explode(".", $name);
Note: See TracChangeset
for help on using the changeset viewer.