Update mobile.php

Check to make sure $_SERVER["HTTP_USER_AGENT"] is set. Avoid error_log msg.