Changeset 19787


Ignore:
Timestamp:
2010/12/29 16:50:44 (13 years ago)
Author:
fukuran
Message:

#880(mobile/sphoneディレクトリを削除)に対応する、
影響の少ない部分を先行してコミット

Location:
branches/version-2_5-dev
Files:
3 deleted
4 edited

Legend:

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

    r18701 r19787  
    148148    } 
    149149 
    150     /** 
    151      * 携帯端末の場合、モバイルサイトへリダイレクトする 
    152      * 
    153      * @return void 
    154      */ 
    155     function sfAutoRedirectMobileSite() { 
    156         // 携帯端末ではない場合、処理しない 
    157         if (SC_MobileUserAgent::isNonMobile()) return; 
    158  
    159         $url = SC_Utils_Ex::sfIsHTTPS() 
    160             ? MOBILE_SSL_URL 
    161             : MOBILE_SITE_URL 
    162         ; 
    163  
    164         $url .= (preg_match('|^' . URL_DIR . '(.*)$|', $_SERVER['REQUEST_URI'], $matches)) 
    165             ? $matches[1] 
    166             : '' 
    167         ; 
    168  
    169         header("Location: ". SC_Utils_Ex::sfRmDupSlash($url)); 
    170         exit; 
    171     } 
    172150} 
    173151?> 
  • branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact.php

    r19773 r19787  
    117117              break; 
    118118        } 
    119     } 
    120  
    121     /** 
    122      * モバイルページを初期化する. 
    123      * 
    124      * @return void 
    125      */ 
    126     function mobileInit() { 
    127         $this->init(); 
    128     } 
    129  
    130     /** 
    131      * Page のプロセス(モバイル). 
    132      * 
    133      * @return void 
    134      */ 
    135     function mobileProcess() { 
    136         $this->mobileAction(); 
    137         $this->sendResponse(); 
    138     } 
    139  
    140     /** 
    141      * Page のアクション(モバイル). 
    142      * 
    143      * @return void 
    144      */ 
    145     function mobileAction() { 
    146         $objDb = new SC_Helper_DB_Ex(); 
    147         $this->CONF = $objDb->sfGetBasisData();         // 店舗基本情報 
    148119    } 
    149120 
  • branches/version-2_5-dev/data/class/pages/forgot/LC_Page_Forgot.php

    r19677 r19787  
    180180 
    181181    /** 
    182      * モバイルページを初期化する. 
    183      * 
    184      * @return void 
    185      */ 
    186     function mobileInit() { 
    187         $this->init(); 
    188     } 
    189  
    190     /** 
    191      * Page のプロセス(モバイル). 
    192      * 
    193      * @return void 
    194      */ 
    195     function mobileProcess() { 
    196         $this->process(); 
    197     } 
    198  
    199     /** 
    200182     * デストラクタ. 
    201183     * 
  • branches/version-2_5-dev/data/class/pages/order/LC_Page_Order.php

    r19784 r19787  
    7676 
    7777    /** 
    78      * モバイルページを初期化する. 
    79      * 
    80      * @return void 
    81      */ 
    82     function mobileInit() { 
    83         $this->init(); 
    84     } 
    85  
    86     /** 
    87      * Page のプロセス(モバイル). 
    88      * 
    89      * 
    90      * @return void 
    91      */ 
    92     function mobileProcess() { 
    93         parent::mobileProcess(); 
    94         $this->mobileAction(); 
    95         $this->sendResponse(); 
    96     } 
    97  
    98     /** 
    99      * Page のアクション(モバイル). 
    100      * 
    101      * 
    102      * @return void 
    103      */ 
    104     function mobileAction() { 
    105         $objDb = new SC_Helper_DB_Ex(); 
    106         $this->arrRet = $objDb->sfGetBasisData(); 
    107     } 
    108  
    109  
    110     /** 
    11178     * デストラクタ. 
    11279     * 
Note: See TracChangeset for help on using the changeset viewer.