Changeset 2191 for trunk/phpgwapi
- Timestamp:
- 03/08/10 15:11:05 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/functions.inc.php
r2174 r2191 358 358 $GLOBALS['phpgw']->preferences->verify_basic_settings(); 359 359 360 /********* Optional classes, which can be disabled for performance increases *********/ 361 while ($phpgw_class_name = each($GLOBALS['phpgw_info']['flags'])) 362 { 363 if (ereg('enable_',$phpgw_class_name[0])) 364 { 365 $enable_class = str_replace('enable_','',$phpgw_class_name[0]); 366 $enable_class = str_replace('_class','',$enable_class); 367 eval('$GLOBALS["phpgw"]->' . $enable_class . ' = createobject(\'phpgwapi.' . $enable_class . '\');'); 368 } 369 } 370 unset($enable_class); 371 372 360 373 reset($GLOBALS['phpgw_info']['flags']); 361 374
Note: See TracChangeset
for help on using the changeset viewer.