From aedaca8c72029312afcf5d4a3086b336131d1793 Mon Sep 17 00:00:00 2001 From: skeeter Date: Mon, 25 Aug 2003 10:15:27 +0000 Subject: [PATCH] Changed the require_once to CreateObject --- phpgwapi/inc/class.help_helper.inc.php | 2 +- phpgwapi/inc/class.listbox.inc.php | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/phpgwapi/inc/class.help_helper.inc.php b/phpgwapi/inc/class.help_helper.inc.php index 11e2fc3b2e..c3725a83de 100644 --- a/phpgwapi/inc/class.help_helper.inc.php +++ b/phpgwapi/inc/class.help_helper.inc.php @@ -24,7 +24,7 @@ \*******************************************************************/ /* $Id$ */ - require_once('class.help.inc.php'); + CreateObject('phpgwapi.help'); class help_helper extends help { diff --git a/phpgwapi/inc/class.listbox.inc.php b/phpgwapi/inc/class.listbox.inc.php index a4029b7b72..4b8a90e3c1 100755 --- a/phpgwapi/inc/class.listbox.inc.php +++ b/phpgwapi/inc/class.listbox.inc.php @@ -25,8 +25,7 @@ \**************************************************************************/ /* $Id$ */ - require_once('class.portalbox.inc.php'); - + CreateObject('phpgwapi.portalbox'); class listbox extends portalbox { /*