Changeset 19810 for branches/version-2_5-dev/data/class
- Timestamp:
- 2011/01/02 16:01:35 (16 years ago)
- Location:
- branches/version-2_5-dev/data/class
- Files:
-
- 2 edited
-
helper/SC_Helper_Mobile.php (modified) (2 diffs)
-
pages/unsupported/LC_Page_Unsupported.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/helper/SC_Helper_Mobile.php
r19805 r19810 37 37 /** 38 38 * EC-CUBE がサポートする携帯端末かどうかをチェックする。 39 * 非対応端末の場合は / mobile/unsupported/ へリダイレクトする。39 * 非対応端末の場合は /unsupported/ へリダイレクトする。 40 40 * 41 41 * @return void … … 43 43 function lfMobileCheckCompatibility() { 44 44 if (!SC_MobileUserAgent::isSupported()) { 45 header('Location: ' . URL_PATH . ' mobile/unsupported/' . DIR_INDEX_URL);45 header('Location: ' . URL_PATH . 'unsupported/' . DIR_INDEX_URL); 46 46 exit; 47 47 } -
branches/version-2_5-dev/data/class/pages/unsupported/LC_Page_Unsupported.php
r19807 r19810 44 44 function init() { 45 45 parent::init(); 46 $this->tpl_ mainpage = TEMPLATE_REALDIR . 'mobile/unsupported/index.tpl';46 $this->tpl_title = '未対応デバイス'; 47 47 } 48 48 … … 53 53 */ 54 54 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(); 59 58 } 60 59 60 function action() {} 61 61 62 /** 62 63 * デストラクタ.
Note: See TracChangeset
for help on using the changeset viewer.
