function hosting_web_server_install in Hosting 5
File
- web_server/
hosting_web_server.install, line 3
Code
function hosting_web_server_install() {
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
db_query("CREATE TABLE {hosting_web_server} (\n vid int(10) unsigned NOT NULL default '0',\n nid int(10) unsigned NOT NULL default '0',\n ip_address longtext,\n script_user longtext,\n web_group longtext,\n config_path longtext,\n backup_path longtext,\n restart_cmd longtext,\n drush_path longtext,\n PRIMARY KEY (vid)\n ) /*!40100 DEFAULT CHARACTER SET UTF8 */ ");
break;
}
}