Ignore:
Timestamp:
May 7, 2015 4:15:16 PM (10 years ago)
Author:
dungnv
Message:
 
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  
    473473            $ext = pathinfo($fileUrl, PATHINFO_EXTENSION);
    474474            $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);
    477477            }
    478478            if (file_exists("previews/$userId/" . $tblfile->getFileId() . "/0.png")) {
  • pro-violet-viettel/www/deploy/api/platform/modules/space/templates/dirSuccess.php

    r913 r916  
    3232      $filePath="";
    3333      $thumbnail="";
    34       if (in_array($ext, array("jpg","png","jpeg","bmp","gif")))
     34      if (in_array($ext, array("jpg","png","jpeg","gif")))
    3535      {
    3636          $names = explode(".", $name);
Note: See TracChangeset for help on using the changeset viewer.