Changeset 2136
- Timestamp:
- 02/22/2008 12:16:39 PM (9 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
application/controllers/examples.php (modified) (1 diff)
-
modules/kobot/controllers/kobot.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 -
trunk/modules/kobot/controllers/kobot.php
r2067 r2136 20 20 // Login and join the default channel 21 21 $bot->login('koboto', 'PhoenixRisingKO'); 22 $bot->join('#ko boto');22 $bot->join('#kohana-dev', 'lovespeed'); 23 23 $bot->read(); 24 24 }
