From 787aaf2a5ed789ad1811a5afc78253aef281488d Mon Sep 17 00:00:00 2001 From: Miles Lott Date: Wed, 2 Jan 2002 15:49:25 +0000 Subject: [PATCH] Create hooks object for hooks call --- setup/config.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/setup/config.php b/setup/config.php index 5512994c17..3ae23aecb2 100644 --- a/setup/config.php +++ b/setup/config.php @@ -158,9 +158,12 @@ var $accounts; var $applications; var $db; + var $hooks; } $GLOBALS['phpgw'] = new phpgw; $GLOBALS['phpgw']->common = CreateObject('phpgwapi.common'); + $GLOBALS['phpgw']->db = $phpgw_setup->db; + $GLOBALS['phpgw']->hooks = CreateObject('phpgwapi.hooks'); $cfg_apps = array('phpgwapi','admin','preferences'); while(list(,$cfg_app) = each($cfg_apps))