Added PHP mobile device detection