summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorKjartan Mannes2001-11-17 15:18:16 (GMT)
committerKjartan Mannes2001-11-17 15:18:16 (GMT)
commit0db3df1bfa32fa8f7ddf071339c3d0ffd10cf4cc (patch)
tree19f323fa17743fef119ab18b74bd230965134ede /index.php
parent8ae1611c401bfac60ba6ad99cc98226e9fbaa93d (diff)
- changed the $function code to use module_invoke() as its a lot cleaner and
more in tune with the rest of Drupal.
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/index.php b/index.php
index 5b44fe1..7c925a8 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();