Changeset 20644
- Timestamp:
- 2011/03/15 14:31:36 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/helper/SC_Helper_FileManager.php
r20562 r20644 280 280 */ 281 281 function lfIsFileOpen($dir, $tree_status) { 282 $arrTreeStatus = explode(' \|', $tree_status);282 $arrTreeStatus = explode('|', $tree_status); 283 283 if(in_array($dir, $arrTreeStatus)) { 284 284 return true; … … 365 365 // ダウンロードされるファイル名 366 366 $dlFileName = 'tpl_package_' . date('YmdHis') . '.tar.gz'; 367 367 368 368 // ファイル一覧取得 369 369 $arrFileHash = SC_Utils_Ex::sfGetFileList($dir); … … 372 372 $debug_message.= "圧縮:".$val['file_name']."\n"; 373 373 } 374 GC_Utils_Ex::gfDebugLog($debug_message); 375 374 GC_Utils_Ex::gfDebugLog($debug_message); 375 376 376 // ディレクトリを移動 377 377 chdir($dir); … … 379 379 $tar = new Archive_Tar($dlFileName, true); 380 380 $tar->create($arrFileList); 381 381 382 382 // ダウンロード用HTTPヘッダ出力 383 383 header("Content-disposition: attachment; filename=${dlFileName}");
Note: See TracChangeset
for help on using the changeset viewer.