You are here

function hosting_wizard_provision_paths_submit in Hosting 5

Save the changes to the default web server node

File

./hosting.wizard.inc, line 267

Code

function hosting_wizard_provision_paths_submit($form_id, $values) {
  $node = node_load(HOSTING_OWN_WEB_SERVER);
  $node->config_path = $values['config_path'];
  $node->restart_cmd = $values['restart_cmd'];
  $node->backup_path = $values['backup_path'];
  $node->drush_path = $values['drush_path'];
  node_save($node);
}