Changeset 8424


Ignore:
Timestamp:
2006/11/17 09:23:12 (15 years ago)
Author:
kakinaka
Message:

blank

Location:
temp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/data/class/SC_View.php

    r8423 r8424  
    137137 
    138138class SC_SiteView extends SC_View{ 
    139     function SC_SiteView() { 
     139    function SC_SiteView($cart = false) { 
    140140        parent::SC_View(); 
    141141        $this->_smarty->template_dir = TEMPLATE_DIR; 
     
    144144         
    145145        // PHP5¤Ç¤Ïsession¤ò¥¹¥¿¡¼¥È¤¹¤ëÁ°¤Ë¥Ø¥Ã¥À¡¼¾ðÊó¤òÁ÷¿®¤·¤Æ¤¤¤ë¤È·Ù¹ð¤¬½Ð¤ë¤¿¤á¡¢Àè¤Ë¥»¥Ã¥·¥ç¥ó¤ò¥¹¥¿¡¼¥È¤¹¤ë¤è¤¦¤ËÊѹ¹ 
    146         $objCartSess = new SC_CartSession(); 
    147         $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); 
     146        sfDomainSessionStart(); 
     147         
     148        if(!$cart){ 
     149            $objCartSess = new SC_CartSession(); 
     150            $objCartSess->setPrevURL($_SERVER['REQUEST_URI']); 
     151        } 
    148152         
    149153    } 
  • temp/trunk/html/cart/index.php

    r8420 r8424  
    2424 
    2525$objPage = new LC_Page(); 
    26 $objView = new SC_SiteView(); 
     26$objView = new SC_SiteView(true); 
    2727$objCartSess = new SC_CartSession("", false); 
    2828$objSiteSess = new SC_SiteSession(); 
  • temp/trunk/html/input_zip.php

    r5934 r8424  
    2121$conn = new SC_DBconn(ZIP_DSN); 
    2222$objPage = new LC_Page(); 
    23 $objView = new SC_SiteView(); 
     23$objView = new SC_SiteView(false); 
    2424 
    2525// ÆþÎÏ¥¨¥é¡¼¥Á¥§¥Ã¥¯ 
Note: See TracChangeset for help on using the changeset viewer.