Update PVTools.php

Using HTTP_HOST instead of server name for getting url