Yea, at first I thought this would be more complex (because of vsite domain). Still, it is convenient not to have to memorize the full url call in the 2 places I used it.

Remove this function and replace the 2 invocations with `rtrim(url('<front>', array('absolute' => TRUE)), '/');` ?