Changeset 273 for pro-bachkim-filespace/sourcecode/api.violet.vn/www/apps
- Timestamp:
- Oct 16, 2014 10:00:55 AM (11 years ago)
- 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 347 347 348 348 $tempFile = violetUtil::getTempPath().$userId.'_'.$fileName; 349 echo $tempFile."/".$file;349 350 350 $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') { 355 353 $tempPath = violetUtil::getTempPath($userId.'_'.date("YmdHis"), true); 356 354 myZip::Unzip($tempFile, $tempPath); … … 360 358 $this->CreateSpaceFile($tempFile, $fileName, $fileSize, $catId, $userId); 361 359 } 362 * 363 */ 360 364 361 echo '{"status":"success"}'; 365 362 return sfView::NONE;
Note: See TracChangeset
for help on using the changeset viewer.