Changeset 11816 for branches/dev/data/class/SC_View.php
- Timestamp:
- 2007/03/13 11:06:06 (19 years ago)
- File:
-
- 1 edited
-
branches/dev/data/class/SC_View.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/dev/data/class/SC_View.php
r11546 r11816 142 142 143 143 class SC_SiteView extends SC_View{ 144 function SC_SiteView($cart = true ) {144 function SC_SiteView($cart = true, $is_mobile = false) { 145 145 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 } 148 155 $this->initpath(); 149 156
Note: See TracChangeset
for help on using the changeset viewer.
