Changeset 20644


Ignore:
Timestamp:
2011/03/15 14:31:36 (13 years ago)
Author:
coelacanth
Message:

#1121 [管理画面]コンテンツ管理(ファイル管理):ディレクトリツリーが開かない

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/helper/SC_Helper_FileManager.php

    r20562 r20644  
    280280     */ 
    281281    function lfIsFileOpen($dir, $tree_status) { 
    282         $arrTreeStatus = explode('\|', $tree_status); 
     282        $arrTreeStatus = explode('|', $tree_status); 
    283283        if(in_array($dir, $arrTreeStatus)) { 
    284284            return true; 
     
    365365        // ダウンロードされるファイル名 
    366366        $dlFileName = 'tpl_package_' . date('YmdHis') . '.tar.gz'; 
    367          
     367 
    368368        // ファイル一覧取得 
    369369        $arrFileHash = SC_Utils_Ex::sfGetFileList($dir); 
     
    372372            $debug_message.= "圧縮:".$val['file_name']."\n"; 
    373373        } 
    374         GC_Utils_Ex::gfDebugLog($debug_message);         
    375          
     374        GC_Utils_Ex::gfDebugLog($debug_message); 
     375 
    376376        // ディレクトリを移動 
    377377        chdir($dir); 
     
    379379        $tar = new Archive_Tar($dlFileName, true); 
    380380        $tar->create($arrFileList); 
    381          
     381 
    382382        // ダウンロード用HTTPヘッダ出力 
    383383        header("Content-disposition: attachment; filename=${dlFileName}"); 
Note: See TracChangeset for help on using the changeset viewer.