Home › Forums › Back End › Login with Twitter (Kirby) › Re: Login with Twitter (Kirby)
January 10, 2013 at 9:39 pm
#120613
__
Participant
yeah, it’s the same idea. He’s just parsing the URL instead of using a query string.
You can see what he’s doing in `./kirby/lib/uri.php`.
You can access those params like
`$someParam = $site->uri()->param( $key );`
So, in this case, you’d do:
if( $site->uri()->param( ‘do’ ) == ‘logout’ ){
/* logout */
}
The query string approach (`?do=logout`) will still work, of course.