You are here

function _hosting_signup_get_url in Hosting 5

Small helper function to provide a clean default URL

4 calls to _hosting_signup_get_url()
hosting_signup_form in signup/hosting_signup.module
Form callback for signup form
hosting_signup_form_submit in signup/hosting_signup.module
Local submit function for hosting_signup_form.
hosting_signup_form_validate in signup/hosting_signup.module
Local validate function for hosting_signup form.
_hosting_signup_form_populate in signup/hosting_signup.module
Populate hosting site node form element with specified arguments

File

signup/hosting_signup.module, line 128
Provides a signup form that can be run on remote sites

Code

function _hosting_signup_get_url($path = '/xmlrpc.php') {
  $url = variable_get('hosting_signup_uri', 'http://' . $_SERVER['HTTP_HOST']);
  $url .= $path;
  return $url;
}