PHP function / CodeIgniter helper for converting a relative URL path to absolute URL.