Changeset 919 for pro-violet-viettel


Ignore:
Timestamp:
May 11, 2015 11:33:57 AM (10 years ago)
Author:
quyenla
Message:

thumbnail for docs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/www/deploy/api/platform/modules/space/actions/actions.class.php

    r918 r919  
    246246            $fileName = $tblres->getFullFilename();
    247247            $fileUrl = str_replace($_SERVER['DOCUMENT_ROOT'], "http://".$_SERVER['HTTP_HOST'], $fileName);
    248             $count = $this->createPreview($fileUrl, $userId, $fileId);
     248            $this->createPreview($fileUrl, $userId, $fileId);
     249            $files = scandir("previews/" . $userId . "/" . $fileId);
     250            $count = (count($files) - 2);
    249251        }
    250252        $data['fileid'] = $fileId;
Note: See TracChangeset for help on using the changeset viewer.