- Timestamp:
- 2007/07/27 19:59:11 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/LC_Page.php
r15117 r15141 36 36 var $tpl_page_category; 37 37 38 /** 39 * 安全に POST するための URL 40 */ 41 var $postURL; 42 43 /** 44 * このページで使用する遷移先 45 */ 46 var $transitions; 38 /** トランザクションID */ 39 var $transactionid; 47 40 48 41 // }}} … … 54 47 * @return void 55 48 */ 56 function init() { 57 $this->postURL = $_SERVER['PHP_SELF']; 58 } 49 function init() {} 59 50 60 51 /** … … 80 71 */ 81 72 function checkPreviousURI() { 73 // TODO 必要性検討 82 74 } 83 75 … … 97 89 . "|" . preg_quote(SSL_URL, '/') . ")/", $url)) { 98 90 99 // TODO パラメータが存在する場合の対応 100 header("Location: " . $url . "?" . TRANSACTION_ID_NAME . "=" . $this->getToken()); 91 $suffix = "?"; 92 if (!empty($_SERVER['QUERY_STRING'])) { 93 $suffix = "&"; 94 } 95 header("Location: " . $url . $suffix . TRANSACTION_ID_NAME . "=" . $this->getToken()); 101 96 } 102 97 return false; … … 185 180 function getLocation($path, $param = array(), $useSSL = false, $documentRoot = "") { 186 181 182 // TODO $_SERVER['DOCUMENT_ROOT'] をインストーラでチェックする. 187 183 if (empty($documentRoot)) { 188 184 $documentRoot = $_SERVER['DOCUMENT_ROOT']; 185 186 if (empty($documentRoot)) { 187 die("[BUG] can't get DOCUMENT_ROOT"); 188 } 189 189 } 190 190 // DocumentRoot を削除した文字列を取得.
Note: See TracChangeset
for help on using the changeset viewer.