- changed the $function code to use module_invoke() as its a lot cleaner and

more in tune with the rest of Drupal.
4.0.x
Kjartan Mannes 2001-11-17 15:18:16 +00:00
parent 8ae1611c40
commit 0db3df1bfa
1 changed files with 1 additions and 2 deletions

View File

@ -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();