Changeset 23125 for branches/version-2_13-dev/data/class/pages/admin/basis/LC_Page_Admin_Basis_ZipInstall.php
- Timestamp:
- 2013/08/26 12:42:34 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_13-dev/data/class/pages/admin/basis/LC_Page_Admin_Basis_ZipInstall.php
r23124 r23125 354 354 // Proxy経由を可能とする。 355 355 // TODO Proxyの設定は「data/module/HTTP/Request.php」内の「function HTTP_Request」へ記述する。いずれは、外部設定としたい。 356 $req = new HTTP_Request ();356 $req = new HTTP_Request2(); 357 357 358 358 $req->setURL(ZIP_DOWNLOAD_URL); 359 359 360 360 // 郵便番号CSVをdownloadする。 361 $res = $req->send Request();361 $res = $req->send(); 362 362 if (!$res || strlen($res) > 1) { 363 363 trigger_error(ZIP_DOWNLOAD_URL . ' の取得に失敗しました。', E_USER_ERROR); … … 369 369 trigger_error($this->zip_csv_temp_realfile . ' を開けません。', E_USER_ERROR); 370 370 } 371 $res = fwrite($fp, $re q->getResponseBody());371 $res = fwrite($fp, $res->getBody()); 372 372 if (!$res) { 373 373 trigger_error($this->zip_csv_temp_realfile . ' への書き込みに失敗しました。', E_USER_ERROR);
Note: See TracChangeset
for help on using the changeset viewer.