diff --git a/index.php b/index.php index 5b44fe1b2aa..7c925a87826 100644 --- a/index.php +++ b/index.php @@ -6,8 +6,7 @@ include_once "includes/common.inc"; page_header(); eval(variable_get("site_frontpage_extra", "") .";"); -$function = variable_get("site_frontpage", "node") ."_page"; -$function(); +module_invoke(variable_get("site_frontpage", "node"), "page"); page_footer();