Changeset 8424 for temp/trunk/data/class


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

blank

File:
1 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    } 
Note: See TracChangeset for help on using the changeset viewer.