Ignore:
Timestamp:
2011/03/07 15:23:39 (13 years ago)
Author:
Seasoft
Message:

#627(ソース整形・ソースコメントの改善)
#628(未使用処理・定義などの削除)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/version-2_5-dev/data/class/pages/LC_Page.php

    r20534 r20538  
    145145        $this->objDisplay->addHeader("Content-type", "application/octet-stream; name=${file_name}"); 
    146146        $this->objDisplay->addHeader("Cache-Control", ""); 
    147         $this->objDisplay->addHeader("Pragma", ""); 
     147        $this->objDisplay->addHeader('Pragma', ""); 
    148148 
    149149        $this->objDisplay->response->body = $data; 
     
    202202     * @param mixed $useSSL 結果に HTTPS_URL を使用する場合 true, 
    203203     *                         HTTP_URL を使用する場合 false, 
    204      *                         デフォルト "escape" 現在のスキーマを使用 
     204     *                         デフォルト 'escape' 現在のスキーマを使用 
    205205     * @return string $path の存在する http(s):// から始まる絶対パス 
    206206     * @see Net_URL 
    207207     */ 
    208     function getLocation($path, $param = array(), $useSSL = "escape") { 
     208    function getLocation($path, $param = array(), $useSSL = 'escape') { 
    209209        $rootPath = $this->getRootPath($path); 
    210210 
     
    214214        } elseif ($useSSL === false){ 
    215215            $url = HTTP_URL . $rootPath; 
    216         } elseif ($useSSL == "escape") { 
     216        } elseif ($useSSL == 'escape') { 
    217217            if (SC_Utils_Ex::sfIsHTTPS()) { 
    218218                $url = HTTPS_URL . $rootPath; 
     
    311311 
    312312    /** 
    313      * リクエストパラメータ "mode" を取得する. 
     313     * リクエストパラメータ 'mode' を取得する. 
    314314     * 
    315315     * 1. $_GET['mode'] の値を取得する. 
     
    350350     */ 
    351351    function doValidToken($is_admin = false) { 
    352         if ($_SERVER["REQUEST_METHOD"] == "POST") { 
     352        if ($_SERVER["REQUEST_METHOD"] == 'POST') { 
    353353            if (!SC_Helper_Session_Ex::isValidToken(false)) { 
    354354                if ($is_admin) { 
Note: See TracChangeset for help on using the changeset viewer.