Changeset 16167
- Timestamp:
- 2007/09/28 21:33:11 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/pages/cart/LC_Page_Cart.php
r16152 r16167 162 162 if (!isset($_REQUEST['continue'])) $_REQUEST['continue'] = ""; 163 163 if($_REQUEST['continue']) { 164 $this->sendRedirect(MOBILE_URL_SITE_TOP, 165 SC_Helper_Mobile_Ex::sessionIdArray()); 164 $this->sendRedirect($this->getLocation(MOBILE_URL_SITE_TOP, array(session_name() => session_id()))); 166 165 exit; 167 166 } … … 216 215 $objCartSess->saveCurrentCart($uniqid); 217 216 // 購入ページへ 218 $this->sendRedirect(MOBILE_URL_SHOP_TOP, 219 SC_Helper_Mobile_Ex::sessionIdArray()); 217 $this->sendRedirect(SC_Helper_Mobile_Ex::gfAddSessionId(MOBILE_URL_SHOP_TOP)); 220 218 exit; 221 219 } … … 227 225 if (!isset($_GET['mode'])) $_GET['mode'] = ""; 228 226 227 /* 228 * FIXME sendRedirect() を使った方が良いが無限ループしてしまう... 229 */ 229 230 switch($_GET['mode']) { 230 231 case 'up': 231 232 $objCartSess->upQuantity($_GET['cart_no']); 232 $this->reload(SC_Helper_Mobile_Ex::sessionIdArray());233 SC_Utils_Ex::sfReload(session_name() . "=" . session_id()); 233 234 break; 234 235 case 'down': 235 236 $objCartSess->downQuantity($_GET['cart_no']); 236 $this->reload(SC_Helper_Mobile_Ex::sessionIdArray());237 SC_Utils_Ex::sfReload(session_name() . "=" . session_id()); 237 238 break; 238 239 case 'delete': 239 240 $objCartSess->delProduct($_GET['cart_no']); 240 $this->reload(SC_Helper_Mobile_Ex::sessionIdArray());241 SC_Utils_Ex::sfReload(session_name() . "=" . session_id()); 241 242 break; 242 243 }
Note: See TracChangeset
for help on using the changeset viewer.