Ignore:
Timestamp:
2013/08/28 13:55:43 (11 years ago)
Author:
m_uehara
Message:

#2348 r23140 をマージ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_13_0/data/class/pages/admin/basis/LC_Page_Admin_Basis_ZipInstall.php

    r23126 r23143  
    354354        // Proxy経由を可能とする。 
    355355        // TODO Proxyの設定は「data/module/HTTP/Request.php」内の「function HTTP_Request」へ記述する。いずれは、外部設定としたい。 
    356         $req = new HTTP_Request2(); 
     356        $req = new HTTP_Request(); 
    357357 
    358358        $req->setURL(ZIP_DOWNLOAD_URL); 
    359359 
    360360        // 郵便番号CSVをdownloadする。 
    361         $res = $req->send(); 
     361        $res = $req->sendRequest(); 
    362362        if (!$res || strlen($res) > 1) { 
    363363            trigger_error(ZIP_DOWNLOAD_URL . ' の取得に失敗しました。', E_USER_ERROR); 
     
    369369            trigger_error($this->zip_csv_temp_realfile . ' を開けません。', E_USER_ERROR); 
    370370        } 
    371         $res = fwrite($fp, $res->getBody()); 
     371        $res = fwrite($fp, $req->getResponseBody()); 
    372372        if (!$res) { 
    373373            trigger_error($this->zip_csv_temp_realfile . ' への書き込みに失敗しました。', E_USER_ERROR); 
Note: See TracChangeset for help on using the changeset viewer.