Ignore:
Timestamp:
Oct 16, 2014 10:00:55 AM (11 years ago)
Author:
quyenla
Message:

lala

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps/platform/modules/space/actions/actions.class.php

    r264 r273  
    347347
    348348    $tempFile = violetUtil::getTempPath().$userId.'_'.$fileName;
    349     echo $tempFile."/".$file;
     349   
    350350    $this->getRequest()->moveFile($file, $tempFile);
    351    echo $tempFile;die();
    352     $this->CreateSpaceFile($tempFile, $fileName, $fileSize, $catId, $userId);
    353     /*
    354     if ($this->getRequestParameter('unpack') == 'true') {
     351 
     352      if ($this->getRequestParameter('unpack') == 'true') {
    355353      $tempPath = violetUtil::getTempPath($userId.'_'.date("YmdHis"), true);
    356354      myZip::Unzip($tempFile, $tempPath);
     
    360358      $this->CreateSpaceFile($tempFile, $fileName, $fileSize, $catId, $userId);
    361359    }
    362        *
    363        */
     360     
    364361    echo '{"status":"success"}';
    365362    return sfView::NONE;
Note: See TracChangeset for help on using the changeset viewer.