summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-11-17 15:18:16 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-11-17 15:18:16 +0000
commit0db3df1bfa32fa8f7ddf071339c3d0ffd10cf4cc (patch)
tree19f323fa17743fef119ab18b74bd230965134ede /index.php
parent8ae1611c401bfac60ba6ad99cc98226e9fbaa93d (diff)
downloadbrdo-0db3df1bfa32fa8f7ddf071339c3d0ffd10cf4cc.tar.gz
brdo-0db3df1bfa32fa8f7ddf071339c3d0ffd10cf4cc.tar.bz2
- 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 5b44fe1b2..7c925a878 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();