Changeset 16881 for branches/feature-module-update/data
- Timestamp:
- 2007/12/03 23:43:46 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/upgrade/LC_Page_Upgrade_Download.php
r16880 r16881 73 73 $this->initParam(); 74 74 $objLog->log('* post param check start'); 75 if ($this->objForm->checkError()) { 75 $arrErr = $this->objForm->checkError(); 76 if ($arrErr) { 76 77 $objJson->setError(OSTORE_E_C_INVALID_PARAM); 77 78 $objJson->display(); 78 79 $objLog->error(OSTORE_E_C_INVALID_PARAM, $_POST); 80 $objLog->log('* post param check error ' . print_r($arrErr, true)); 79 81 return; 80 82 } … … 106 108 // リクエストを開始 107 109 $objLog->log('* http request start'); 108 $arrPostData = array( 109 'eccube_url' => SITE_URL, 110 'public_key' => sha1($public_key . $sha1_key), 111 'sha1_key' => $sha1_key, 112 'product_id' => $this->objForm->getValue('product_id') 113 ); 110 111 switch($mode) { 112 case 'patch_download': 113 $arrPostData = array( 114 'eccube_url' => SITE_URL, 115 'public_key' => sha1($public_key . $sha1_key), 116 'sha1_key' => $sha1_key, 117 'patch_code' => 'latest' 118 ); 119 break; 120 default: 121 $arrPostData = array( 122 'eccube_url' => SITE_URL, 123 'public_key' => sha1($public_key . $sha1_key), 124 'sha1_key' => $sha1_key, 125 'product_id' => $this->objForm->getValue('product_id') 126 ); 127 break; 128 } 129 114 130 $objReq = $this->request($mode, $arrPostData); 115 131
Note: See TracChangeset
for help on using the changeset viewer.