title: Where in Codeigniter do I detect if user is on mobile device?
body: <p>I have a CI Bonfire installation and I don't know where can I detect if a user is viewing the page on a mobile device or desktop PC? Is this done directly in front controller <code>application/core/Base_Controller.php</code> ?</p>
  
  <p>If user is on desktop PC I need to redirect them to specific page inside my installation. And this must be detectable all over my website in all controllers.</p>