From: <ral...@us...> - 2009-04-29 09:50:33
|
Author: ralfbecker Date: Wed Apr 29 11:50:25 2009 New Revision: 26885 URL: http://www.egroupware.org/viewvc/egroupware?rev=3D26885&view=3Drev Log: "fix for newly introduced bug reported on the lists: Fatal error: Class 'notifications' not found in /home/domain/public_html/egw/etemplate/inc/class.bo_tracking.inc.php --> reverts an older commit fixing a problem between the (depracated and no= longer working) browser app and the browser class in the API" Modified: trunk/phpgwapi/inc/common_functions.inc.php Modified: trunk/phpgwapi/inc/common_functions.inc.php URL: http://www.egroupware.org/viewvc/egroupware/trunk/phpgwapi/inc/common_= functions.inc.php?rev=3D26885&r1=3D26884&r2=3D26885&view=3Ddiff =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D --- trunk/phpgwapi/inc/common_functions.inc.php (original) +++ trunk/phpgwapi/inc/common_functions.inc.php Wed Apr 29 11:50:25 2009 @@ -1388,8 +1388,8 @@ { $components =3D explode('_',$class); $app =3D array_shift($components); - // classes using the new naming schema app_class_name, eg. admin_cmd, but= not app/inc/class.app.inc.php - if ($app !=3D $class && file_exists($file =3D EGW_INCLUDE_ROOT.'/'.$app.'= /inc/class.'.$class.'.inc.php') || + // classes using the new naming schema app_class_name, eg. admin_cmd + if (file_exists($file =3D EGW_INCLUDE_ROOT.'/'.$app.'/inc/class.'.$class.= '.inc.php') || // classes using the new naming schema app_class_name, eg. admin_cmd isset($components[0]) && file_exists($file =3D EGW_INCLUDE_ROOT.'/'.$app= .'/inc/class.'.$app.'_'.$components[0].'.inc.php') || // eGW api classes using the old naming schema, eg. html |