You are here

function hosting_web_server_load in Hosting 5

Implementation of hook_load().

File

web_server/hosting_web_server.module, line 339
Web server node type is defined here.

Code

function hosting_web_server_load($node) {
  $additions = db_fetch_object(db_query('SELECT ip_address, script_user, web_group, config_path, backup_path, restart_cmd, drush_path FROM {hosting_web_server} WHERE vid = %d', $node->vid));
  return $additions;
}