function hostmaster_profile_tasks in Hostmaster (Aegir) 6
Same name and namespace in other branches
- 6.2 hostmaster.profile \hostmaster_profile_tasks()
- 5.x hostmaster.profile \hostmaster_profile_tasks()
File
- ./
hostmaster.profile, line 31
Code
function hostmaster_profile_tasks(&$task, $url) {
// Install dependencies
install_include(hostmaster_profile_modules());
// add support for nginx
if (d()->platform->server->http_service_type === 'nginx') {
drupal_install_modules(array(
'hosting_nginx',
));
}
// Bootstrap and create all the initial nodes
hostmaster_bootstrap();
// Finalize and setup themes, menus, optional modules etc
hostmaster_task_finalize();
}