"setting $GLOBALS[$class], as it's used in the framework to automatic include css"

This commit is contained in:
Ralf Becker 2008-03-26 11:32:17 +00:00
parent 868345fcb6
commit b5b7eb4075

View File

@ -122,7 +122,7 @@
} }
require_once(EGW_INCLUDE_ROOT.'/'.$app.'/inc/class.'.$class.'.inc.php'); require_once(EGW_INCLUDE_ROOT.'/'.$app.'/inc/class.'.$class.'.inc.php');
$obj = new $class(); $GLOBALS[$class] = $obj = new $class();
if((is_array($obj->public_functions) && $obj->public_functions[$method]) && !$invalid_data) if((is_array($obj->public_functions) && $obj->public_functions[$method]) && !$invalid_data)
{ {
$obj->$method(); $obj->$method();