phpgroupware-cvs
[Top][All Lists]
Advanced

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

[Phpgroupware-cvs] CVS: phpgwapi/inc class.php_ext.inc.php,1.1,1.2


From: Miles Lott <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgwapi/inc class.php_ext.inc.php,1.1,1.2
Date: Sun, 21 Apr 2002 20:01:21 -0400

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

Modified Files:
        class.php_ext.inc.php 
Log Message:
Clear up syntax error, but trapping dl errors is still impossible...



Index: class.php_ext.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/phpgwapi/inc/class.php_ext.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** class.php_ext.inc.php       21 Apr 2002 23:00:42 -0000      1.1
--- class.php_ext.inc.php       22 Apr 2002 00:01:18 -0000      1.2
***************
*** 85,89 ****
                                        while(list(,$tf) = 
each($this->test_function[$ext]['extfile']))
                                        {
!                                               eval('dl(' . $tf . '.' . 
$this->os_ext . ');');
                                                $this->check($ext,True);
                                        }
--- 85,91 ----
                                        while(list(,$tf) = 
each($this->test_function[$ext]['extfile']))
                                        {
!                                               error_reporting(0);
!                                               eval('$tmp = dl(' . $tf . 
$this->os_ext . ');');
!                                               error_reporting(E_ERROR | 
E_WARNING | E_PARSE);
                                                $this->check($ext,True);
                                        }
***************
*** 91,96 ****
                                else
                                {
!                                       //dl($ext. $this->os_ext);
!                                       eval('dl(' . $ext . '.' . $this->os_ext 
. ');');
                                        return $this->check($ext,False);
                                }
--- 93,99 ----
                                else
                                {
!                                       error_reporting(0);
!                                       eval('$tmp = dl(' . $ext . 
$this->os_ext . ');');
!                                       error_reporting(E_ERROR | E_WARNING | 
E_PARSE);
                                        return $this->check($ext,False);
                                }




reply via email to

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