Ignore:
Timestamp:
2007/03/13 11:06:06 (19 years ago)
Author:
uehara
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/dev/data/class/SC_View.php

    r11546 r11816  
    142142 
    143143class SC_SiteView extends SC_View{ 
    144     function SC_SiteView($cart = true) { 
     144    function SC_SiteView($cart = true, $is_mobile = false) { 
    145145        parent::SC_View(); 
    146         $this->_smarty->template_dir = TEMPLATE_DIR; 
    147         $this->_smarty->compile_dir = COMPILE_DIR; 
     146         
     147        // ·ÈÂÓ¥µ¥¤¥È¤ÈPC¥µ¥¤¥È¤Ç¥Æ¥ó¥×¥ì¡¼¥È¥Õ¥¡¥¤¥ë¤òÊѹ¹ 
     148        if($is_mobile == true) { 
     149            $this->_smarty->template_dir = MOBILE_TEMPLATE_DIR; 
     150            $this->_smarty->compile_dir = MOBILE_COMPILE_DIR; 
     151        } else { 
     152            $this->_smarty->template_dir = TEMPLATE_DIR; 
     153            $this->_smarty->compile_dir = COMPILE_DIR;           
     154        } 
    148155        $this->initpath(); 
    149156         
Note: See TracChangeset for help on using the changeset viewer.