This commit is contained in:
zone 2001-05-15 00:35:29 +00:00
parent b1fadc4908
commit 709910f688
2 changed files with 1034 additions and 422 deletions

File diff suppressed because it is too large Load Diff

View File

@ -332,11 +332,11 @@
$phpgw->preferences->verify_basic_settings();
/********* Optional classes, which can be disabled for performance increases *********/
while ($name = each($phpgw_info['flags']))
while ($phpgw_class_name = each($phpgw_info['flags']))
{
if (ereg('enable_',$name[0]))
if (ereg('enable_',$phpgw_class_name[0]))
{
$enable_class = ereg_replace('enable_','',$name[0]);
$enable_class = ereg_replace('enable_','',$phpgw_class_name[0]);
$enable_class = ereg_replace('_class','',$enable_class);
eval('$phpgw->' . $enable_class . ' = createobject(\'phpgwapi.' . $enable_class . '\');');
}