Changeset 273 for pro-bachkim-filespace/sourcecode
- Timestamp:
- Oct 16, 2014 10:00:55 AM (11 years ago)
- Location:
- pro-bachkim-filespace/sourcecode/api.violet.vn/www
- Files:
-
- 2 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; -
pro-bachkim-filespace/sourcecode/api.violet.vn/www/cache/platform/prod/config/config_core_compile.yml.php
r272 r273 2649 2649 if ($create && !@mkdir($directory, $dirMode, true)) 2650 2650 { 2651 echo $directory;die();2652 2651 $error = 'Failed to create file upload directory "%s"'; 2653 2652 $error = sprintf($error, $directory);
Note: See TracChangeset
for help on using the changeset viewer.