If you are looking for DotKernel 3 related posts, go here.
Wurfl is also used to detect mobile browsers (as discussed in a previous blog post) and automatically redirect them to the mobile site the first time they view the homepage. Sometimes, this behavior isn’t desired (for example when you don’t have a mobile site, or you don’t plan on using Wurfl at all)
Starting with revision 408, there’s an option in application.ini to disable the automatic redirect (by default the redirect is disabled):
resources.useragent.wurflapi.redirect = false
The following condition is also added to Controllers/frontend/IndexController.php (at line 19) to check the configuration:
//if automatic redirect is enabled in application.ini and the browser is mobile and session->mobileHit is not set, register it and redirect if($config->resources->useragent->wurflapi->redirect && 'mobile' == Dot_Kernel::getDevice()->getType() && !isset($session->mobileHit))