Changeset 19787
- Timestamp:
- 2010/12/29 16:50:44 (15 years ago)
- Location:
- branches/version-2_5-dev
- Files:
-
- 3 deleted
- 4 edited
-
data/class/SC_MobileUserAgent.php (modified) (1 diff)
-
data/class/pages/contact/LC_Page_Contact.php (modified) (1 diff)
-
data/class/pages/forgot/LC_Page_Forgot.php (modified) (1 diff)
-
data/class/pages/order/LC_Page_Order.php (modified) (1 diff)
-
html/mobile/contact (deleted)
-
html/mobile/forgot (deleted)
-
html/mobile/order (deleted)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/SC_MobileUserAgent.php
r18701 r19787 148 148 } 149 149 150 /**151 * 携帯端末の場合、モバイルサイトへリダイレクトする152 *153 * @return void154 */155 function sfAutoRedirectMobileSite() {156 // 携帯端末ではない場合、処理しない157 if (SC_MobileUserAgent::isNonMobile()) return;158 159 $url = SC_Utils_Ex::sfIsHTTPS()160 ? MOBILE_SSL_URL161 : MOBILE_SITE_URL162 ;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 }172 150 } 173 151 ?> -
branches/version-2_5-dev/data/class/pages/contact/LC_Page_Contact.php
r19773 r19787 117 117 break; 118 118 } 119 }120 121 /**122 * モバイルページを初期化する.123 *124 * @return void125 */126 function mobileInit() {127 $this->init();128 }129 130 /**131 * Page のプロセス(モバイル).132 *133 * @return void134 */135 function mobileProcess() {136 $this->mobileAction();137 $this->sendResponse();138 }139 140 /**141 * Page のアクション(モバイル).142 *143 * @return void144 */145 function mobileAction() {146 $objDb = new SC_Helper_DB_Ex();147 $this->CONF = $objDb->sfGetBasisData(); // 店舗基本情報148 119 } 149 120 -
branches/version-2_5-dev/data/class/pages/forgot/LC_Page_Forgot.php
r19677 r19787 180 180 181 181 /** 182 * モバイルページを初期化する.183 *184 * @return void185 */186 function mobileInit() {187 $this->init();188 }189 190 /**191 * Page のプロセス(モバイル).192 *193 * @return void194 */195 function mobileProcess() {196 $this->process();197 }198 199 /**200 182 * デストラクタ. 201 183 * -
branches/version-2_5-dev/data/class/pages/order/LC_Page_Order.php
r19784 r19787 76 76 77 77 /** 78 * モバイルページを初期化する.79 *80 * @return void81 */82 function mobileInit() {83 $this->init();84 }85 86 /**87 * Page のプロセス(モバイル).88 *89 *90 * @return void91 */92 function mobileProcess() {93 parent::mobileProcess();94 $this->mobileAction();95 $this->sendResponse();96 }97 98 /**99 * Page のアクション(モバイル).100 *101 *102 * @return void103 */104 function mobileAction() {105 $objDb = new SC_Helper_DB_Ex();106 $this->arrRet = $objDb->sfGetBasisData();107 }108 109 110 /**111 78 * デストラクタ. 112 79 *
Note: See TracChangeset
for help on using the changeset viewer.
