Changeset 9764
- Timestamp:
- Dec 29, 2008, 11:41:19 AM (14 years ago)
- Location:
- OpenPNE3/trunk
- Files:
-
- 4 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE3/trunk/apps/mobile_frontend/config/factories.yml
r9199 r9764 26 26 27 27 all: 28 #controller:29 # class: sfFrontWebController30 # 28 controller: 29 class: opMobileFrontWebController 30 31 31 request: 32 32 class: sfOpenPNEWebRequest … … 56 56 # 57 57 storage: 58 class: sfSessionStorage58 class: opMobileSessionStorage 59 59 param: 60 60 session_name: OpenPNE_mobile_frontend 61 61 62 # 62 63 # view_cache: -
OpenPNE3/trunk/lib/request/sfOpenPNEWebRequest.class.php
r8757 r9764 95 95 return false; 96 96 } 97 98 public function isCookie() 99 { 100 if ($this->getMobile()->isDoCoMo()) 101 { 102 return false; 103 } 104 elseif ($this->getMobile()->isSoftBank()) 105 { 106 if (!$this->getMobile()->isType3GC() && !$this->getMobile()->isTypeW()) 107 { 108 return false; 109 } 110 } 111 112 return true; 113 } 97 114 }
Note: See TracChangeset
for help on using the changeset viewer.