phpgroupware-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-users] Double Choco Latte 0.9.3 and phpgw 0.9.14.003


From: Chris Weiss
Subject: Re: [Phpgroupware-users] Double Choco Latte 0.9.3 and phpgw 0.9.14.003
Date: Fri, 30 May 2003 15:45:18 +0000

no app should ever call phpgw's functions.inc.php because it's auto loaded in 
the
header.  just load the header and be done.

Brian Epstein (address@hidden) wrote:
>
>Ok, here is what I've found so far.  If I comment out the include to the
>funtions.inc.php for DCL in the functions.in.php, it elevates some of the
>problems.
>
>"phpgwapi/inc/functions.inc.php" line 929"
>
>               
> /*************************************************************************
>               * Load the app include files if the exists                      
>           *
>               
> *************************************************************************/
>               /* Then the include file */
>               if (! preg_match ("/phpgwapi/i", PHPGW_APP_INC) && 
> file_exists(PHPGW_APP_INC .
'/functions.inc.php') && !isset($GLOBALS['HTTP_GET_VARS']['menuaction']))
>               {
>                       #include(PHPGW_APP_INC . '/functions.inc.php');
>               }
>
>Obviously I need to include those funtions, though.  phpgw's
>functions.inc.php calls dcl functions.inc.php.  The dcl
>functions.inc.php includes phpgw's header.inc.php.  header.inc.php calls
>phpgw's functions.inc.php.
>
>This is where the loop occurs.  Now, what is the best way to fix this
>loop?
>
>ep
>
>
>
>
>_______________________________________________
>Phpgroupware-users mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/phpgroupware-users
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]