forked from extern/egroupware
ignore et2 base-class when scanning for widgets to display in (old) editor
This commit is contained in:
parent
07f7e61e91
commit
8b49d88788
@ -1547,6 +1547,8 @@ class editor
|
||||
$dir = @opendir(EGW_SERVER_ROOT.'/'.$app.'/inc');
|
||||
while ($dir && ($file = readdir($dir)))
|
||||
{
|
||||
if ($file == 'class.etemplate_widget.inc.php') continue; // ignore et2 base-class, it's no widget for old etemplate
|
||||
|
||||
if (preg_match('/class\\.([a-zA-Z0-9_]*)_widget.inc.php/',$file,$regs) &&
|
||||
($regs[1] != 'xslt' || $this->etemplate->xslt) &&
|
||||
($ext = $this->etemplate->loadExtension($regs[1].'.'.$app,$this->etemplate)))
|
||||
|
Loading…
Reference in New Issue
Block a user