Changeset 2136 for trunk/application/controllers/examples.php
- Timestamp:
- 02/22/2008 12:16:39 PM (11 months ago)
- Files:
-
- 1 modified
-
trunk/application/controllers/examples.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/application/controllers/examples.php
r2097 r2136 273 273 function user_agent() 274 274 { 275 $ua = new User_agent;276 277 275 foreach(array('agent', 'browser', 'version') as $key) 278 276 { 279 echo $key.': '. $ua->$key.'<br/>'."\n";277 echo $key.': '.Kohana::user_agent($key).'<br/>'."\n"; 280 278 } 281 279
