Changeset 16765


Ignore:
Timestamp:
2007/11/08 23:03:18 (16 years ago)
Author:
adachi
Message:

データ保存パスをdata/downloads/backup/へ修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/admin/system/LC_Page_Admin_System_Bkup.php

    r16582 r16765  
    5050        $this->tpl_subtitle = 'バックアップ管理'; 
    5151 
    52         $this->bkup_dir = USER_PATH . "bkup/"; 
     52        $this->bkup_dir = DATA_PATH . "downloads/backup/"; 
    5353 
    5454    } 
     
    288288        // 各種ファイルコピー 
    289289        if ($err) { 
     290            /** 
    290291            // 商品画像ファイルをコピー 
    291292            // ディレクトリが存在していなければ作成する 
     
    315316            $copy_mess = ""; 
    316317            $copy_mess = SC_Utils_Ex::sfCopyDir("../../user_data/css/",$css_dir, $copy_mess); 
    317  
     318            **/ 
    318319            //圧縮フラグTRUEはgzip圧縮をおこなう 
    319320            $tar = new Archive_Tar($this->bkup_dir . $bkup_name.".tar.gz", TRUE); 
     
    340341    /* 配列の要素をCSVフォーマットで出力する。*/ 
    341342    function lfGetCSVList($array) { 
     343        $line = ''; 
    342344        if (count($array) > 0) { 
    343345            foreach($array as $key => $val) { 
     
    496498 
    497499            // 各種ファイルのコピー 
     500            /** 
    498501            if ($err) { 
    499502                // 画像のコピー 
     
    519522                // バックアップデータの削除 
    520523                SC_Utils_Ex::sfDelFile($bkup_dir); 
    521             } 
     524            }**/ 
    522525 
    523526            // リストア成功ならコミット失敗ならロールバック 
Note: See TracChangeset for help on using the changeset viewer.