mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-04-11 17:48:19 +02:00
Clear up syntax error, but trapping dl errors is still impossible...
This commit is contained in:
parent
8af4b49bef
commit
8443b10a60
@ -84,14 +84,17 @@
|
|||||||
{
|
{
|
||||||
while(list(,$tf) = each($this->test_function[$ext]['extfile']))
|
while(list(,$tf) = each($this->test_function[$ext]['extfile']))
|
||||||
{
|
{
|
||||||
eval('dl(' . $tf . '.' . $this->os_ext . ');');
|
error_reporting(0);
|
||||||
|
eval('$tmp = dl(' . $tf . $this->os_ext . ');');
|
||||||
|
error_reporting(E_ERROR | E_WARNING | E_PARSE);
|
||||||
$this->check($ext,True);
|
$this->check($ext,True);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//dl($ext. $this->os_ext);
|
error_reporting(0);
|
||||||
eval('dl(' . $ext . '.' . $this->os_ext . ');');
|
eval('$tmp = dl(' . $ext . $this->os_ext . ');');
|
||||||
|
error_reporting(E_ERROR | E_WARNING | E_PARSE);
|
||||||
return $this->check($ext,False);
|
return $this->check($ext,False);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user