Ignore:
Timestamp:
2011/01/02 16:01:35 (16 years ago)
Author:
fukuda
Message:

#880(mobile/sphoneディレクトリを削除)に対応。まずmobileのみ意図通りの動作になるように一部コミット(unsupportedディレクトリ)

Location:
branches/version-2_5-dev/data/class
Files:
2 edited

Legend:

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

    r19805 r19810  
    3737    /** 
    3838     * EC-CUBE がサポートする携帯端末かどうかをチェックする。 
    39      * 非対応端末の場合は /mobile/unsupported/ へリダイレクトする。 
     39     * 非対応端末の場合は /unsupported/ へリダイレクトする。 
    4040     * 
    4141     * @return void 
     
    4343    function lfMobileCheckCompatibility() { 
    4444        if (!SC_MobileUserAgent::isSupported()) { 
    45             header('Location: ' . URL_PATH . 'mobile/unsupported/' . DIR_INDEX_URL); 
     45            header('Location: ' . URL_PATH . 'unsupported/' . DIR_INDEX_URL); 
    4646            exit; 
    4747        } 
  • branches/version-2_5-dev/data/class/pages/unsupported/LC_Page_Unsupported.php

    r19807 r19810  
    4444    function init() { 
    4545        parent::init(); 
    46         $this->tpl_mainpage = TEMPLATE_REALDIR . 'mobile/unsupported/index.tpl'; 
     46        $this->tpl_title = '未対応デバイス'; 
    4747    } 
    4848 
     
    5353     */ 
    5454    function process() { 
    55         $objView = new SC_MobileView(); 
    56  
    57         $objView->assignobj($this); 
    58         $objView->display($this->tpl_mainpage); 
     55        parent::process(); 
     56        $this->action(); 
     57        $this->sendResponse(); 
    5958    } 
    6059 
     60    function action() {} 
     61     
    6162    /** 
    6263     * デストラクタ. 
Note: See TracChangeset for help on using the changeset viewer.