From a0628a66bbefa5d22ccab28a4a9769f85ac989f1 Mon Sep 17 00:00:00 2001 From: seek3r Date: Thu, 8 Feb 2001 01:06:45 +0000 Subject: [PATCH] seek3r is a dope fix --- phpgwapi/inc/class.phpgw.inc.php | 2 +- phpgwapi/inc/functions.inc.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/phpgwapi/inc/class.phpgw.inc.php b/phpgwapi/inc/class.phpgw.inc.php index fb1c0a86ae..64602f9518 100644 --- a/phpgwapi/inc/class.phpgw.inc.php +++ b/phpgwapi/inc/class.phpgw.inc.php @@ -57,7 +57,7 @@ // You could redirect them to login.php with code 2 or use the default // I recommend using the default until all of the bugs are worked out. - function phpgw() + function phpgw_() { global $phpgw_info, $sessionid, $login; /************************************************************************\ diff --git a/phpgwapi/inc/functions.inc.php b/phpgwapi/inc/functions.inc.php index 50747ac6ff..70ab21d84e 100644 --- a/phpgwapi/inc/functions.inc.php +++ b/phpgwapi/inc/functions.inc.php @@ -1,5 +1,5 @@ * @@ -150,7 +150,7 @@ print_debug('sane environment'); } unset ($domain); // we kill this to save memory -print_debug('sane environment'); +print_debug('domain: '.$phpgw_info["user"]["domain"]); //dont know where to put this (seek3r) /* Since LDAP will return system accounts, there are a few we don't want to login. */ @@ -183,7 +183,7 @@ print_debug('sane environment'); \****************************************************************************/ /* Load main class */ $phpgw = CreateObject("phpgwapi.phpgw"); - + $phpgw->phpgw_(); print_debug('main class loaded'); /* Fill phpgw_info["server"] array */ @@ -224,7 +224,7 @@ print_debug('main class loaded'); exit; } - /* A few hacker proof constants that will be used throught the program */ + /* A few hacker resistant constants that will be used throught the program */ define("PHPGW_TEMPLATE_DIR",$phpgw->common->get_tpl_dir("phpgwapi")); define("PHPGW_IMAGES_DIR", $phpgw->common->get_image_path("phpgwapi"));