Drupal/ adding a mobile App forwarder to index.php

97 views
asked Jan 30, 2013 in Website Builder by carebare (1,420 points)
Hi
I have a mobile application created by an outside company. I was told to add a  "php if" statement to the  index.php to check if  a phone is accessing the website. If yes, it will forward to a another page.
Is there anywhere this code can be added so that I don’t have to change the index.php every time there is a security update or another patch is made to the core?
Thanks and regards

1 Answer

0 like 0 dislike
answered Jan 30, 2013 by RalphK (5,800 points)
Try using this module
http://drupal.org/project/browscap
...