Changeset 23143 for branches/version-2_13_0/data/class/pages/admin/basis/LC_Page_Admin_Basis_ZipInstall.php
- Timestamp:
- 2013/08/28 13:55:43 (11 years ago)
- 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 354 354 // Proxy経由を可能とする。 355 355 // TODO Proxyの設定は「data/module/HTTP/Request.php」内の「function HTTP_Request」へ記述する。いずれは、外部設定としたい。 356 $req = new HTTP_Request 2();356 $req = new HTTP_Request(); 357 357 358 358 $req->setURL(ZIP_DOWNLOAD_URL); 359 359 360 360 // 郵便番号CSVをdownloadする。 361 $res = $req->send ();361 $res = $req->sendRequest(); 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 s->getBody());371 $res = fwrite($fp, $req->getResponseBody()); 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.