Changeset 16759


Ignore:
Timestamp:
2007/11/08 19:10:53 (16 years ago)
Author:
adachi
Message:

ログの追加

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/upgrade/LC_Page_Upgrade_Download.php

    r16642 r16759  
    145145        // ダウンロードデータの保存 
    146146        if ($objRet->status === OWNERSSTORE_STATUS_SUCCESS) { 
    147            $this->objLog->log('* save file start'); 
     147            $this->objLog->log('* save file start'); 
    148148            $time = time(); 
    149149            $dir  = DATA_PATH . 'downloads/tmp/'; 
     
    152152            $data = base64_decode($objRet->body); 
    153153 
     154            $this->objLog->log("* open ${filename} start"); 
    154155            if ($fp = fopen($dir . $filename, "w")) { 
    155156                fwrite($fp, $data); 
     
    168169            // ダウンロードアーカイブを展開する 
    169170            $exract_dir = $dir . $time; 
     171            $this->objLog->log("* mkdir ${exract_dir} start"); 
    170172            if (!@mkdir($exract_dir)) { 
    171173                $arrErr = array( 
     
    179181            } 
    180182 
     183            $this->objLog->log("* extract ${dir}${filename} start"); 
    181184            $tar = new Archive_Tar($dir . $filename); 
    182185            $tar->extract($exract_dir); 
    183186 
     187            $this->objLog->log("* copy batch start"); 
    184188            include_once CLASS_PATH . 'batch/SC_Batch_Update.php'; 
    185189            $objBatch = new SC_Batch_Update(); 
     
    187191 
    188192            // テーブルの更新 
     193            $this->objLog->log("* insert/update dtb_module start"); 
    189194            $this->updateMdlTable($objRet->product_data); 
    190195 
    191196            // 配信サーバへ通知 
     197            $this->objLog->log("* notify to lockon server start"); 
    192198            $this->notifyDownload($objReq->getResponseCookies()); 
    193199 
Note: See TracChangeset for help on using the changeset viewer.