Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14655 reviews 1734 hosting providers

Questions & Answers

Drupal/ adding a mobile App forwarder to index.php

Jan 30, 2013 by carebare
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 votes
Jan 30, 2013 by RalphK
Try using this module