Changeset 20538 for branches/version-2_5-dev/data/class/pages/LC_Page.php
- Timestamp:
- 2011/03/07 15:23:39 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/pages/LC_Page.php
r20534 r20538 145 145 $this->objDisplay->addHeader("Content-type", "application/octet-stream; name=${file_name}"); 146 146 $this->objDisplay->addHeader("Cache-Control", ""); 147 $this->objDisplay->addHeader( "Pragma", "");147 $this->objDisplay->addHeader('Pragma', ""); 148 148 149 149 $this->objDisplay->response->body = $data; … … 202 202 * @param mixed $useSSL 結果に HTTPS_URL を使用する場合 true, 203 203 * HTTP_URL を使用する場合 false, 204 * デフォルト "escape"現在のスキーマを使用204 * デフォルト 'escape' 現在のスキーマを使用 205 205 * @return string $path の存在する http(s):// から始まる絶対パス 206 206 * @see Net_URL 207 207 */ 208 function getLocation($path, $param = array(), $useSSL = "escape") {208 function getLocation($path, $param = array(), $useSSL = 'escape') { 209 209 $rootPath = $this->getRootPath($path); 210 210 … … 214 214 } elseif ($useSSL === false){ 215 215 $url = HTTP_URL . $rootPath; 216 } elseif ($useSSL == "escape") {216 } elseif ($useSSL == 'escape') { 217 217 if (SC_Utils_Ex::sfIsHTTPS()) { 218 218 $url = HTTPS_URL . $rootPath; … … 311 311 312 312 /** 313 * リクエストパラメータ "mode"を取得する.313 * リクエストパラメータ 'mode' を取得する. 314 314 * 315 315 * 1. $_GET['mode'] の値を取得する. … … 350 350 */ 351 351 function doValidToken($is_admin = false) { 352 if ($_SERVER["REQUEST_METHOD"] == "POST") {352 if ($_SERVER["REQUEST_METHOD"] == 'POST') { 353 353 if (!SC_Helper_Session_Ex::isValidToken(false)) { 354 354 if ($is_admin) {
Note: See TracChangeset
for help on using the changeset viewer.