Changeset 19400
- Timestamp:
- 2010/11/07 02:38:35 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camp/camp-2_5-E/data/class/SC_Display.php
r19371 r19400 46 46 */ 47 47 function hoge(LC_Page $page, $is_admin = false){ 48 48 49 if(!$this->deviceSeted || !is_null($this->view)){ 49 50 $device = ($is_admin) ? 8 : $this->detectDevice(); 50 $this->setDevice($device); 51 if (!$this->deviceSeted) { 52 $this->setDevice($device); 53 } 51 54 } 52 55 $this->assignobj($page); 56 53 57 $this->response->setResposeBody($this->view->fetch($page->getTemplate())); 54 58 } … … 86 90 $this->setView(new SC_AdminView()); 87 91 } 92 88 93 $this->deviceSeted = true; 89 94 }
Note: See TracChangeset
for help on using the changeset viewer.