示例#1
0
 case 'buyvip-po-confirm':
     $fullpath = SP_BUYVIP_ARCHIVE_PATH . 'confirm/' . $filename;
     break;
 case 'amfr-bulk-items':
 case 'amfr-variations':
 case 'amfr-uploadimgs':
 case 'amfr-disc-prods':
     $fullpath = SP_AMAZONFR_UPLOAD_PATH . $filename;
     break;
 case 'amfr-po-confirm':
     $fullpath = SP_AMAZONFR_ARCHIVE_PATH . 'confirm/' . $filename;
     break;
 case 'attachments':
     use_class('attachments');
     $obj_path = $_GET['po'];
     $fullpath = attachments::generateFullPath($obj_path, $filename);
     $basename = basename($fullpath);
     $basenames = strstr($basename, '-');
     $fullpath_without_id = substr($basenames, 1);
     break;
 case 'archive-bookkeeping':
     use_class('ReportBookkeeping');
     $fullpath = DIR_FS_ARCHIVES . ReportBookkeeping::ARCHIVE_PATH . $filename;
     break;
 case 'report-sales-newcomer':
 case 'report-sales-weekly':
 case 'pick-n-pack':
     $fullpath = DIR_FS_ARCHIVES . $filename;
     break;
 case 'laid-uploadimgs':
     $fullpath = SP_LAZADAID_TEMP_IMAGE_DIR . $filename;