diff options
author | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2001-11-17 15:18:16 +0000 |
---|---|---|
committer | Kjartan Mannes <kjartan@2.no-reply.drupal.org> | 2001-11-17 15:18:16 +0000 |
commit | 0db3df1bfa32fa8f7ddf071339c3d0ffd10cf4cc (patch) | |
tree | 19f323fa17743fef119ab18b74bd230965134ede /index.php | |
parent | 8ae1611c401bfac60ba6ad99cc98226e9fbaa93d (diff) | |
download | brdo-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.php | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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(); |