phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.hooks.inc.php,1.12,1.13


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.hooks.inc.php,1.12,1.13
Date: Sat, 16 Feb 2002 09:30:42 -0500

Update of /cvsroot/phpgroupware/phpgwapi/inc
In directory subversions:/tmp/cvs-serv11920

Modified Files:
        class.hooks.inc.php 
Log Message:
rework function to remove php3 error - need to test on php4 again

Index: class.hooks.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.hooks.inc.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** class.hooks.inc.php 10 Feb 2002 19:34:11 -0000      1.12
--- class.hooks.inc.php 16 Feb 2002 14:30:40 -0000      1.13
***************
*** 161,165 ****
                @function single_tpl
                @abstract call the hooks for a single application, return 
output from the hook
!               @discussion This is only used so far for the wcm app (website 
hook) - Milosch.
                @param $location hook location - required
                @param $appname application name - optional
--- 161,165 ----
                @function single_tpl
                @abstract call the hooks for a single application, return 
output from the hook
!               @discussion This is a BROKEN function on php3... wcm is not 
using it anymore
                @param $location hook location - required
                @param $appname application name - optional
***************
*** 179,183 ****
                                        ( 
$GLOBALS['phpgw_info']['user']['apps'][$appname] || (($no_permission_check || 
$location == 'config' || $appname == 'phpgwapi') && $appname)) )
                                {
!                                       return include($f);
                                }
                                else
--- 179,184 ----
                                        ( 
$GLOBALS['phpgw_info']['user']['apps'][$appname] || (($no_permission_check || 
$location == 'config' || $appname == 'phpgwapi') && $appname)) )
                                {
!                                       eval('$retval = include(\$f);');
!                                       return $retval;
                                }
                                else




reply via email to

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