Changeset 16167


Ignore:
Timestamp:
2007/09/28 21:33:11 (16 years ago)
Author:
nanasess
Message:

遷移の不具合修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/class/pages/cart/LC_Page_Cart.php

    r16152 r16167  
    162162        if (!isset($_REQUEST['continue'])) $_REQUEST['continue'] = ""; 
    163163        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()))); 
    166165            exit; 
    167166        } 
     
    216215                $objCartSess->saveCurrentCart($uniqid); 
    217216                // 購入ページへ 
    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)); 
    220218                exit; 
    221219            } 
     
    227225        if (!isset($_GET['mode'])) $_GET['mode'] = ""; 
    228226 
     227        /* 
     228         * FIXME sendRedirect() を使った方が良いが無限ループしてしまう... 
     229         */ 
    229230        switch($_GET['mode']) { 
    230231        case 'up': 
    231232            $objCartSess->upQuantity($_GET['cart_no']); 
    232             $this->reload(SC_Helper_Mobile_Ex::sessionIdArray()); 
     233            SC_Utils_Ex::sfReload(session_name() . "=" . session_id()); 
    233234            break; 
    234235        case 'down': 
    235236            $objCartSess->downQuantity($_GET['cart_no']); 
    236             $this->reload(SC_Helper_Mobile_Ex::sessionIdArray()); 
     237            SC_Utils_Ex::sfReload(session_name() . "=" . session_id()); 
    237238            break; 
    238239        case 'delete': 
    239240            $objCartSess->delProduct($_GET['cart_no']); 
    240             $this->reload(SC_Helper_Mobile_Ex::sessionIdArray()); 
     241            SC_Utils_Ex::sfReload(session_name() . "=" . session_id()); 
    241242            break; 
    242243        } 
Note: See TracChangeset for help on using the changeset viewer.